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

Method AddCollectionContext

db/database_collection.go:445–447  ·  view source on GitHub ↗

AddCollectionContext adds the collection name to a context.

(ctx context.Context)

Source from the content-addressed store, hash-verified

443
444// AddCollectionContext adds the collection name to a context.
445func (c *DatabaseCollection) AddCollectionContext(ctx context.Context) context.Context {
446 return base.CollectionLogCtx(ctx, c.ScopeName, c.Name)
447}

Callers 15

getCollectionMethod · 0.80
CompactMethod · 0.80
DocChangedMethod · 0.80
TestShardedDCPUpgradeFunction · 0.80
RunMethod · 0.80
RunMethod · 0.80

Calls 1

CollectionLogCtxFunction · 0.92