==Pending Update List==
{{MarkAnnounce|Updated with Version 10}}: {{Code|db:store}} is executed before XQuery Update expressions.
The most important thing to keep in mind when using XQuery Update is the Pending Update List (PUL). Updating statements are not executed immediately, but are first collected as update primitives within a set-like structure. After the evaluation of the query, and after some consistency checks and optimizations, the update primitives will be applied in the following order: