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

Method ExplainQuery

base/leaky_datastore.go:437–443  ·  view source on GitHub ↗
(ctx context.Context, statement string, params map[string]interface{})

Source from the content-addressed store, hash-verified

435}
436
437func (lds *LeakyDataStore) ExplainQuery(ctx context.Context, statement string, params map[string]interface{}) (plan map[string]interface{}, err error) {
438 n1qlStore, err := lds.getN1QLStore()
439 if err != nil {
440 return nil, err
441 }
442 return n1qlStore.ExplainQuery(ctx, statement, params)
443}
444
445func (lds *LeakyDataStore) EscapedKeyspace() string {
446 n1qlStore, err := lds.getN1QLStore()

Callers

nothing calls this directly

Calls 2

getN1QLStoreMethod · 0.95
ExplainQueryMethod · 0.65

Tested by

no test coverage detected