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

Function stripSyncProperty

db/design_doc.go:346–350  ·  view source on GitHub ↗
(row *sgbucket.ViewRow)

Source from the content-addressed store, hash-verified

344}
345
346func stripSyncProperty(row *sgbucket.ViewRow) {
347 if doc := row.Doc; doc != nil {
348 delete((*doc).(map[string]interface{}), base.SyncPropertyName)
349 }
350}
351
352func InitializeViews(ctx context.Context, ds sgbucket.DataStore) error {
353 collection, isCBServerCollection := ds.(*base.Collection)

Callers 2

QueryDesignDocMethod · 0.85
filterViewResultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected