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

Function callUserQuery

db/functions/n1ql_function_test.go:68–70  ·  view source on GitHub ↗
(ctx context.Context, db *db.Database, name string, args map[string]any)

Source from the content-addressed store, hash-verified

66}
67
68func callUserQuery(ctx context.Context, db *db.Database, name string, args map[string]any) (any, error) {
69 return db.CallUserFunction(ctx, name, args, false)
70}
71
72func queryResultString(t *testing.T, iter sgbucket.QueryResultIterator) string {
73 if iter == nil {

Callers 3

testUserQueriesCommonFunction · 0.85
testUserQueriesAsAdminFunction · 0.85
testUserQueriesAsUserFunction · 0.85

Calls 1

CallUserFunctionMethod · 0.80

Tested by

no test coverage detected