Changes

Jump to navigation Jump to search
5 bytes added ,  17:59, 1 March 2016
| '''Summary'''
|Prepares the supplied {{Code|$query}} string for asynchronous execution and returns a query id. The query will be queued as described in the article on [[Transaction Management]], and the result will be cached in main-memory until it is fetched via [[#async:result|async:result]], or until {{Option|ASYNCTIMEOUT}} is exceeded.<br/>Variables and context items can be declared via {{Code|$bindings}} (see [[XQuery Module#xquery:eval|xquery:eval]] for more details). The {{Code|$options}} parameter contains evaluation options:
* {{Code|cache}}: indicates if the query result will be cached or ignored (default: <code>true</code>). If the query result is ignoredwill not be cached, the query id will immediately get invalidated be discarded after query execution, too.
* {{Code|base-uri}}: set [https://www.w3.org/TR/xquery-31/#dt-static-base-uri base-uri property] for the query. This URI will be used when resolving relative URIs by functions such as {{Code|fn:doc}} (default: ''empty string'').
|-
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu