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

Function DefaultScopeAndCollectionName

base/collection_common.go:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21type ScopeAndCollectionName = sgbucket.DataStoreNameImpl
22
23func DefaultScopeAndCollectionName() ScopeAndCollectionName {
24 return ScopeAndCollectionName{Scope: DefaultScope, Collection: DefaultCollection}
25}
26
27func NewScopeAndCollectionName(scope, collection string) ScopeAndCollectionName {
28 return ScopeAndCollectionName{

Callers 7

buildCollectionIndexDataFunction · 0.92
getSingleDsNameFunction · 0.92
DataStoreNamesMethod · 0.92
TestInitializeIndexesFunction · 0.92

Calls

no outgoing calls

Tested by 3

getSingleDsNameFunction · 0.74
TestInitializeIndexesFunction · 0.74