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

Method isMetadataOnly

db/indexes.go:260–262  ·  view source on GitHub ↗

isMetadataOnly refers to an index that is only applicable to create for a location that does metadata storage

()

Source from the content-addressed store, hash-verified

258
259// isMetadataOnly refers to an index that is only applicable to create for a location that does metadata storage
260func (i *SGIndex) isMetadataOnly() bool {
261 return i.flags&IdxFlagMetadataOnly != 0
262}
263
264// isPrincipalOnly refers to an index that is only applicable for querying principal docs.
265func (i *SGIndex) isPrincipalOnly() bool {

Callers 1

shouldCreateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected