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

Method SetPostQueryCallback

base/leaky_datastore.go:339–341  ·  view source on GitHub ↗
(callback func(ddoc, viewName string, params map[string]any))

Source from the content-addressed store, hash-verified

337}
338
339func (lds *LeakyDataStore) SetPostQueryCallback(callback func(ddoc, viewName string, params map[string]any)) {
340 lds.config.PostQueryCallback = callback
341}
342
343func (lds *LeakyDataStore) SetQueryCallback(fn func(ddoc, viewName string, params map[string]any) error) {
344 lds.config.QueryCallback = fn

Calls

no outgoing calls