MCPcopy Create free account
hub / github.com/couchbase/moss / OpenCollection

Method OpenCollection

store_api.go:356–359  ·  view source on GitHub ↗

-------------------------------------------------------- OpenCollection opens a collection based on a store. Applications should open at most a single collection per store for performing read/write work.

(options StoreOptions,
	persistOptions StorePersistOptions)

Source from the content-addressed store, hash-verified

354// should open at most a single collection per store for performing
355// read/write work.
356func (s *Store) OpenCollection(options StoreOptions,
357 persistOptions StorePersistOptions) (Collection, error) {
358 return s.openCollection(options, persistOptions)
359}
360
361// --------------------------------------------------------
362

Callers 1

OpenStoreCollectionFunction · 0.80

Calls 1

openCollectionMethod · 0.95

Tested by

no test coverage detected