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

Method numIndexPartitions

db/database_collection.go:350–352  ·  view source on GitHub ↗

numIndexPartitions returns the number of partitions for the collection's indexes. This is controlled at a database level.

()

Source from the content-addressed store, hash-verified

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 {
351 return c.dbCtx.numIndexPartitions()
352}
353
354// User will return the user object.
355func (c *DatabaseCollectionWithUser) User() auth.User {

Callers 5

buildAccessQueryMethod · 0.95
buildRoleAccessQueryMethod · 0.95
buildChannelsQueryMethod · 0.95
QueryAllDocsMethod · 0.95
QueryTombstonesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected