Changes to xdmp:update XQuery Prolog Option
- Last Updated: April 14, 2026
- 1 minute read
- MarkLogic Server
- Version 11.0
- Documentation
Previously, setting the XQuery prolog option xdmp:update to “false” caused MarkLogic to automatically detect whether a module should be evaluated as an update or a query transaction.
As of MarkLogic 9.0-2, setting the option to “false” tells MarkLogic to treat the code as a query transaction. This could cause your program to get an error if you explicitly set the option to “false” and your code performs an update operation.
The new “auto” option value is equivalent to the previous behavior of “false”.
For related changes, see the following topics: