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

Method GetChanges

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

Returns set of changes for a given channel, within the bounds specified in options

(ctx context.Context, ch channels.ID, options ChangesOptions)

Source from the content-addressed store, hash-verified

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)
55
56 // Returns the set of all cached data for a given channel (intended for diagnostic usage)
57 GetCachedChanges(ctx context.Context, ch channels.ID) ([]*LogEntry, error)

Implementers 1

channelCacheImpldb/channel_cache.go

Calls

no outgoing calls