Changes

Jump to navigation Jump to search
57 bytes removed ,  13:14, 20 July 2022
no edit summary
* <code>let $db := 'test' return insert nodes <test/> into db:pre($db)</code>
The functions [[Databases#XML Documents{{Code|fn:doc]] }} and [[Databases#XML Documents{{Code|fn:collection]] }} can also be used to address that are not stored in a database. However, this may lead to unwanted locks, and you have two options to reduce the number of locks: No database lookups will take place if {{Option|WITHDB}} option is disabled, or if {{Function|Fetch|fetch:xml}} is used instead of [[Databases#XML Documents{{Code|fn:doc]]}}.
You can consult the query info output (which you find in the [[GUI#Visualizations|Info View]] of the GUI or which you can turn on by setting {{Option|QUERYINFO}} to {{Code|true}}) to find out which databases have been locked by a query.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu