MCPcopy Index your code
hub / github.com/couchbase/sync_gateway / Run

Method Run

db/functions.go:58–58  ·  view source on GitHub ↗

Calls a user function, returning the entire result. (If this is a N1QL query it will return all the result rows in an array, which is less efficient than iterating them, so try calling `Iterate` first.)

(context.Context)

Source from the content-addressed store, hash-verified

56 // Calls a user function, returning the entire result.
57 // (If this is a N1QL query it will return all the result rows in an array, which is less efficient than iterating them, so try calling `Iterate` first.)
58 Run(context.Context) (interface{}, error)
59}
60
61//////// DATABASE API FOR USER FUNCTIONS:

Implementers 2

n1qlInvocationdb/functions/n1ql_function.go
jsInvocationdb/functions/js_function.go

Calls

no outgoing calls

Tested by 15

TestRoleKeysHashFunction · 0.52
TestIsValidEmailFunction · 0.52
TestUserKeysHashFunction · 0.52
TestCreateSessionFunction · 0.52
TestJWTVerifyTokenFunction · 0.52