===update===
{{Mark|Updated with Version 10:}} Curly braces are now mandatory.
The {{Code|update}} expression is a BaseX-specific convenience operator for the {{Code|copy/modify/return}}
<syntaxhighlight lang="xquery">
for $item in db:open('data')//item
return $item update { delete node text()}
</syntaxhighlight>
<syntaxhighlight lang="xquery">
db:open('data')//item update { delete node text()}
</syntaxhighlight>
;Version 10.0
* Updated: {{Code|db:store}} is executed before XQuery Update expressions.
* Updated: [[#update|update]]: Curly braces are now mandatory.
;Version 9.0