Changes

Jump to navigation Jump to search
No change in size ,  13:15, 20 July 2022
* <code>let $db := 'test' return insert nodes <test/> into db:pre($db)</code>
The functions {{Code|fn:doc}} and {{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:xmldoc}} is used instead of {{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