Changes

Jump to navigation Jump to search
33 bytes added ,  10:18, 1 March 2017
The following implementation-defined annotations are available:
* ==basex:inline== {{Code|%basex:inline([limit])}} controls if functions will be inlined.
If XQuery functions are ''inlined'', the function call will be replaced by a FLWOR expression, in which the function variables are bound to let clauses, and in which the function body is returned. This optimization triggers further query rewritings that will speed up your query. An example:
</pre>
* ==basex:lazy== {{Code|%basex:lazy}} enforces the lazy evaluation of a global variable. ExampleAn example:
'''Example:'''
</pre>
The annotation ensures that an error will only be thrown if the condition yields true. Without the annotation, the error will always be thrownraised, because the referenced document is not found.
=Serialization=
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu