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

Method GetInUseIndexes

db/database.go:790–792  ·  view source on GitHub ↗

GetInUseIndexes returns the names of the indexes on this database.

()

Source from the content-addressed store, hash-verified

788
789// GetInUseIndexes returns the names of the indexes on this database.
790func (dbCtx *DatabaseContext) GetInUseIndexes() CollectionIndexes {
791 return dbCtx.GetInUseIndexesFromDefs(sgIndexes)
792}
793
794// GetInUseIndexesFromDefs returns the name of the indexes on this database. indexDefs refers to the global indexDefs as sgIndexes, or a testing seam passed in.
795func (dbCtx *DatabaseContext) GetInUseIndexesFromDefs(indexDefs map[SGIndexType]SGIndex) CollectionIndexes {

Calls 1