Changes

Jump to navigation Jump to search
101 bytes removed ,  23:37, 19 March 2014
no edit summary
==xquery:eval==
{{Mark|Updated with Version 7.8.20:}} {{Code|$options}} argument added.
{| width='100%'
|-
| '''Errors'''
|{{Error|BXXQ0001|#Errors}} the query contains [[XQuery Update#Updating Expressions|updating expressions]].<br/>{{Error|BXXQ0003|#Errors}} insufficient permissions for evaluating the query.<br/>{{Error|BXXQ0004|#Errors}} query execution exceeded timeoutor memory constraints.<br/>{{Error|FOTY0013|#Errors}} the expression yields function items.
|-
| '''Examples'''
|}
==xquery:evaluateupdate==
{{Mark|Updated Added with Version 7.8.20:}} {{Code|$options}} argument added.
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|xquery:evaluateupdate|$query as xs:string|item()*}}<br />{{Func|xquery:evaluateupdate|$query as xs:string, $bindings as map(*)|item()*}}<br />{{Func|xquery:evaluateupdate|$query as xs:string, $bindings as map(*), $options as item()|item()*}}<br />
|-
| '''Summary'''
|Evaluates {{Code|$query}} as updating XQuery expression at runtime and returns the resulting items.<br/>The function differs from All updates will be added to the [[XQuery Update#xquery:evalPending Update List|xquery:evalPending Update List]] in two ways:* All items will be directly returned of the main query and not duplicated. This way, queries will be evaluated faster, and database nodes will retain their node identity.* In exchange, it is not possible to open new databasesperformed after the evaluation of the main query.
|-
| '''Errors'''
|{{Error|BXXQ0001BXXQ0002|#Errors}} the query contains no [[XQuery Update#Updating Expressions|updating expressions]].<br/>{{Error|BXXQ0002|#Errors}} the addressed database cannot be opened.<br/>{{Error|BXXQ0003|#Errors}} insufficient permissions for evaluating the query.<br/>{{Error|BXXQ0004|#Errors}} query execution exceeded timeoutor memory constraints.<br/>{{Error|FOTY0013|#Errors}} the expression yields function items.
|}
==xquery:invoke==
{{Mark|Updated with Version 7.8.20:}} {{Code|$options}} argument added.
{| width='100%'
=Changelog=
=Changelog= ;Version 7.8.20* Added: [[#xquery:update|xquery:update]]* Added: {{Code|$options}} argument added to functions.* Deleted: [[#xquery:evaluate|xquery:evaluate]] (opened databases will now be closed by main query)
;Version 7.8
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu