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

Method ExplainQuery

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

Source from the content-addressed store, hash-verified

57 CreatePrimaryIndex(ctx context.Context, indexName string, options *N1qlIndexOptions) error
58 DropIndex(ctx context.Context, indexName string) error
59 ExplainQuery(ctx context.Context, statement string, params map[string]interface{}) (plan map[string]interface{}, err error)
60 GetIndexMeta(ctx context.Context, indexName string) (exists bool, meta *IndexMeta, err error)
61 Query(ctx context.Context, statement string, params map[string]interface{}, consistency ConsistencyMode, adhoc bool) (results sgbucket.QueryResultIterator, err error)
62 IsErrNoResults(error) bool

Callers 3

ExplainQueryMethod · 0.65
TestCoveringQueriesFunction · 0.65
requireCoveredQueryFunction · 0.65

Implementers 3

Collectionbase/collection_gocb.go
LeakyDataStorebase/leaky_datastore.go
ClusterOnlyN1QLStorebase/cluster_n1ql.go

Calls

no outgoing calls

Tested by 1

TestCoveringQueriesFunction · 0.52