MCPcopy Create free account
hub / github.com/couchbase/cbft / getMetaFieldValue

Method getMetaFieldValue

collection_utils.go:72–77  ·  view source on GitHub ↗
(indexName, collName string)

Source from the content-addressed store, hash-verified

70}
71
72func (c *collMetaFieldCache) getMetaFieldValue(indexName, collName string) string {
73 c.m.RLock()
74 rv := c.cache[indexName+"$"+collName]
75 c.m.RUnlock()
76 return rv
77}
78
79func encodeCollMetaFieldValue(suid, cuid int64) string {
80 return fmt.Sprintf("_$%d_$%d", suid, cuid)

Callers 1

decorateQueryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected