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

Method GetCollectionDatastore

db/database_collection.go:138–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136}
137
138func (c *DatabaseCollection) GetCollectionDatastore() base.DataStore {
139 return c.dataStore
140}
141
142// allPrincipalIDs returns the IDs of all users and roles, including deleted Roles
143func (c *DatabaseCollection) allPrincipalIDs(ctx context.Context) (users, roles []string, err error) {

Calls

no outgoing calls