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

Method UserXattrKey

db/database_collection.go:340–342  ·  view source on GitHub ↗

Returns the xattr key that will be accessible from the sync function. This is controlled at a database level.

()

Source from the content-addressed store, hash-verified

338
339// Returns the xattr key that will be accessible from the sync function. This is controlled at a database level.
340func (c *DatabaseCollection) UserXattrKey() string {
341 return c.dbCtx.Options.UserXattrKey
342}
343
344// UseXattrs specifies whether the collection stores metadata in xattars or inline. This is controlled at a database level.
345func (c *DatabaseCollection) UseXattrs() bool {

Callers 11

handleSyncFnDryRunMethod · 0.80
getResyncedDocumentMethod · 0.80
DocChangedMethod · 0.80
ImportDocMethod · 0.80
importDocMethod · 0.80
RunMethod · 0.80
prepareSyncFnMethod · 0.80
ImportFeedEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected