Changes

Jump to navigation Jump to search
54 bytes added ,  10:21, 21 May 2019
* <code>let $db := 'test' return insert nodes <test/> into db:open($db)</code>
The functions [[Databases#XML Documents|fn:doc]] and [[Databases#XML Documents|fn:collection]] can also be used to address that are not stored in a database. You However, this may lead to unwanted locks, and you have two options to reduce the number of locks that are triggered by these functions. : No database lookups will take place if {{FunctionOption|Fetch|fetch:xmlWITHDB}} option is useddisabled, or if {{OptionFunction|Fetch|WITHDBfetch:xml}} option is disabledused instead of [[Databases#XML Documents|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