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

Method N1QLQueryName

db/functions/function.go:137–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135}
136
137func (fn *functionImpl) N1QLQueryName() (string, bool) {
138 if fn.isN1QL() {
139 return db.QueryTypeUserFunctionPrefix + fn.name, true
140 } else {
141 return "", false
142 }
143}
144
145// Creates an Invocation of a UserFunction.
146func (fn *functionImpl) Invoke(database *db.Database, args map[string]any, mutationAllowed bool, ctx context.Context) (db.UserFunctionInvocation, error) {

Callers

nothing calls this directly

Calls 1

isN1QLMethod · 0.95

Tested by

no test coverage detected