![]() ![]() Insufficient permissions for evaluating the query.ĭeleted: xquery:evaluate (opened databases will now be closed by main query) The specified query contains no updating expressions. The specified query contains updating expressions. Similar to fn:trace($expr, $msg), but instead of a user-defined message, it emits the compile-time type and estimated result size of its argument. xquery:type xquery:type($expr as item() ) as item() ![]() FOTY0013: the expression yields function items.Any other error that may occur while evaluating the query. BXXQ0004: query execution exceeded timeout. BXXQ0003: insufficient permissions for evaluating the query. Database nodes in the result will be copied and returned instead.The semantics of the $bindings and $options parameters is the same as for xquery:eval.īXXQ0001: the expression contains updating expressions. Opens $uri as file, evaluates it as XQuery expression at runtime, and returns the resulting items. Xquery:invoke xquery:invoke($uri as xs:string) as item()* xquery:invoke($uri as xs:string, $bindings as map( )) as item() xquery:invoke($uri as xs:string, $bindings as map( ), $options as item()) as item() The $options parameters can be specified in two ways: * as children of an element:Īny error that may occur while parsing the query. ![]() Parses the specified $query string as XQuery module and returns information on the resulting query plan (please note that the naming of the expressions in the query plan may change over time). xquery:parse xquery:parse($query as xs:string) as item()* xquery:parse($query as xs:string, $options as item()) as item() BXXQ0004: query execution exceeded timeout or memory constraints. Xquery:eval("//country", map ),Īdded with Version 8.0: xquery:update($query as xs:string) as item()* xquery:update($query as xs:string, $bindings as map( )) as item() xquery:update($query as xs:string, $bindings as map(*), $options as item()) as item()Įvaluates $query as updating XQuery expression at runtime.All updates will be added to the Pending Update List of the main query and performed after the evaluation of the main query.īXXQ0002: the query contains no updating expressions. The specified keys must be QNames or strings: * If a key is a QName, it will be directly adopted as variable name.īXXQ0001: the query contains updating expressions. If a returned node is stored in a database, a main-memory copy will be returned as result, because the referenced database is closed after query execution and will not be accessible anymore.Variables and context items can be declared via $bindings. ![]() Functions xquery:eval xquery:eval($query as xs:string) as item()* xquery:eval($query as xs:string, $bindings as map( )) as item() xquery:eval($query as xs:string, $bindings as map(*), $options as item()) as item()Įvaluates the supplied $query string as XQuery expression and returns the resulting items.The evaluated query has its own query context. All errors are assigned to the namespace, which is statically bound to the bxerr prefix. ConventionsĪll functions in this module are assigned to the namespace, which is statically bound to the xquery prefix. This XQuery Module contains functions for evaluating XQuery strings and modules at runtime. ![]()
0 Comments
Leave a Reply. |