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

Method QueryResync

db/query.go:549–551  ·  view source on GitHub ↗
(ctx context.Context, limit int, startSeq, endSeq uint64)

Source from the content-addressed store, hash-verified

547}
548
549func (c *DatabaseCollection) QueryResync(ctx context.Context, limit int, startSeq, endSeq uint64) (sgbucket.QueryResultIterator, error) {
550 return c.QueryChannels(ctx, channels.UserStarChannel, startSeq, endSeq, limit, false)
551}
552
553// Query to retrieve the set of user and role doc ids, using the syncDocs index
554func (context *DatabaseContext) QueryPrincipals(ctx context.Context, startKey string, limit int) (sgbucket.QueryResultIterator, error) {

Callers

nothing calls this directly

Calls 1

QueryChannelsMethod · 0.95

Tested by

no test coverage detected