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

Method useViews

db/database_collection.go:360–362  ·  view source on GitHub ↗

useViews will return whether the bucket is configured using views.

()

Source from the content-addressed store, hash-verified

358
359// useViews will return whether the bucket is configured using views.
360func (c *DatabaseCollection) useViews() bool {
361 return c.dbCtx.Options.UseViews
362}
363
364// Sets the collection's sync function based on the JS code from config.
365// Returns a boolean indicating whether the function is different from the saved one.

Callers 7

QueryAccessMethod · 0.95
QueryRoleAccessMethod · 0.95
QueryChannelsMethod · 0.95
QueryAllDocsMethod · 0.95
QueryTombstonesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected