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

Method AllowConflicts

db/database.go:2111–2116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2109}
2110
2111func (context *DatabaseContext) AllowConflicts() bool {
2112 if context.Options.AllowConflicts != nil {
2113 return *context.Options.AllowConflicts
2114 }
2115 return base.DefaultAllowConflicts
2116}
2117
2118func (context *DatabaseContext) AllowFlushNonCouchbaseBuckets() bool {
2119 if context.Options.UnsupportedOptions != nil && context.Options.UnsupportedOptions.APIEndpoints != nil {

Callers 4

NewDatabaseContextFunction · 0.95
IsIllegalConflictMethod · 0.45
handleChangesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected