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

Method UserKeyPrefix

base/constants_syncdocs.go:296–298  ·  view source on GitHub ↗

UserKeyPrefix returns the prefix used to store a user document format: _sync:user:{m_$}:

()

Source from the content-addressed store, hash-verified

294//
295// format: _sync:user:{m_$}:
296func (m *MetadataKeys) UserKeyPrefix() string {
297 return m.userPrefix
298}
299
300// RoleKey returns the key used to store a role document
301//

Callers 4

GetUserNamesMethod · 0.80
GetUsersMethod · 0.80
DocumentTypeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected