Changes

Jump to navigation Jump to search
101 bytes added ,  14:51, 10 March 2013
* {{Code|for $db in ('factbook') return doc($db)}}, will read lock globally
* {{Code|doc(doc('test')/reference/text())}}, will read lock globally
* <code>doc(doc('test')[.]</code>, will read lock globally, as the context in the predicate cannot be associated yet with the correct database reference
* <code>let $db := 'test' return insert nodes <test/> into doc($db)</code>, will write lock globally
* <code>(1,2,3)[.]</code>, will read lock globally
 
A list of all locked databases is output if <code>[[Options#QUERYINFO|QUERYINFO]]</code> is set to {{Code|true}}. <!-- and in the GUI's [[GUI#Visualizations|Info View]] --> If you think too much is locked, please give us a note on our [http://basex.org/open-source/ mailing list] with some example code.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu