Changes

Jump to navigation Jump to search
201 bytes removed ,  12:24, 26 October 2023
no edit summary
===update===
 
{{Announce|Updated with Version 10:}} Curly braces are now mandatory.
The {{Code|update}} expression is a BaseX-specific convenience operator for the bulky {{Code|copy/modify/return}} construct. Similar to the [[XQuery 3.0#Simple Map Operator|XQuery 3.0 map operator]], the nodes resulting from the first expression are bound as context items, and the bracketed expressions performs updates on the item. The updated nodes is returned as result:
==Pending Update List==
 
{{Announce|Updated with Version 10}}: {{Function|Database|db:put-binary}} is executed before standard XQuery Update expressions.
Updating statements are not executed immediately, but are first collected as update primitives within a set-like structure, the so-called Pending Update List (PUL). After the evaluation of the query, and after some consistency checks and optimizations, the update primitives will be applied in the following order:
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu