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

Method UseXattrs

db/database_collection.go:345–347  ·  view source on GitHub ↗

UseXattrs specifies whether the collection stores metadata in xattars or inline. This is controlled at a database level.

()

Source from the content-addressed store, hash-verified

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 {
346 return c.dbCtx.Options.EnableXattr
347}
348
349// numIndexPartitions returns the number of partitions for the collection's indexes. This is controlled at a database level.
350func (c *DatabaseCollection) numIndexPartitions() uint32 {

Callers 9

buildAccessQueryMethod · 0.95
buildRoleAccessQueryMethod · 0.95
buildChannelsQueryMethod · 0.95
QueryAllDocsMethod · 0.95
QueryTombstonesMethod · 0.95
GetDocumentWithRawMethod · 0.95
GetDocSyncDataMethod · 0.95
checkForUpgradeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected