MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / MetadataStore

Method MetadataStore

rest/utilities_testing.go:425–427  ·  view source on GitHub ↗

MetadataStore returns the datastore for the database on the RestTester

()

Source from the content-addressed store, hash-verified

423
424// MetadataStore returns the datastore for the database on the RestTester
425func (rt *RestTester) MetadataStore() base.DataStore {
426 return rt.GetDatabase().MetadataStore
427}
428
429// GetCollectionsConfig sets up a ScopesConfig from a TestBucket for use with non default collections.
430func GetCollectionsConfig(t testing.TB, testBucket *base.TestBucket, numCollections int) ScopesConfig {

Calls 1

GetDatabaseMethod · 0.95