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

Method Remove

db/channel_cache.go:51–51  ·  view source on GitHub ↗

Remove purges the given doc IDs from all channel caches and returns the number of items removed.

(ctx context.Context, collectionID uint32, docIDs []string, startTime time.Time)

Source from the content-addressed store, hash-verified

49
50 // Remove purges the given doc IDs from all channel caches and returns the number of items removed.
51 Remove(ctx context.Context, collectionID uint32, docIDs []string, startTime time.Time) (count int)
52
53 // Returns set of changes for a given channel, within the bounds specified in options
54 GetChanges(ctx context.Context, ch channels.ID, options ChangesOptions) ([]*LogEntry, error)

Callers 15

RemoveMethod · 0.65
RemoveElementsMethod · 0.65
RemoveMethod · 0.65
UpdateMethod · 0.65
purgeOldest_Method · 0.65
TestDCPFeedEventTypesFunction · 0.65
DelMethod · 0.65
removeRawConfigMethod · 0.65
RemoveMethod · 0.65
runLogDeletionFunction · 0.65

Implementers 1

channelCacheImpldb/channel_cache.go

Calls

no outgoing calls