Interface: XQueryFn
Defined in: lang-xquery/src/language/language.ts:81
XQuery-specific extension of Fn that can suppress automatic argument atomization.
Extends
Properties
impl
impl: (...
args) =>any
Defined in: core/dist/extension.d.ts:18
Implementation function; receives argument values and returns the result.
Parameters
| Parameter | Type |
|---|---|
...args | any[] |
Returns
any
Inherited from
name
name:
string
Defined in: core/dist/extension.d.ts:12
Unique name used to look up this function.
Inherited from
outputSchema?
optionaloutputSchema?:ASTIdentifier[]
Defined in: core/dist/extension.d.ts:16
If the function is used as a tuple source, this is the schema of its output.
Inherited from
pure?
optionalpure?:boolean
Defined in: core/dist/extension.d.ts:20
No side effects, same output for same input (careful: () => ({}) is not pure).
Inherited from
schema?
optionalschema?:string|symbol
Defined in: core/dist/extension.d.ts:14
Schema (name prefix) of the function.
Inherited from
skipAtomization?
optionalskipAtomization?:boolean
Defined in: lang-xquery/src/language/language.ts:83
When true, arguments are passed as-is, bypassing XQuery atomization.