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

Method exitChanges

db/database_collection.go:210–212  ·  view source on GitHub ↗

exitChanges will close active _changes feeds on the DB. This is a database level close.

()

Source from the content-addressed store, hash-verified

208
209// exitChanges will close active _changes feeds on the DB. This is a database level close.
210func (c *DatabaseCollection) exitChanges() chan struct{} {
211 return c.dbCtx.ExitChanges
212}
213
214// GetCollectionID returns a collectionID. If couchbase server does not return collections, it will return base.DefaultCollectionID, like the default collection for a Couchbase Server that does support collections.
215func (c *DatabaseCollection) GetCollectionID() uint32 {

Callers 1

GenerateChangesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected