Changes

Jump to navigation Jump to search
4 bytes removed ,  15:09, 29 April 2013
Some examples on queries that are not supported by database-locking yet:
* <code>let $db := 'factbook' return doc($db)</code>, will read -lock globally: referencing database names isn’t supported yet* {{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
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 that too much is locked, please give us a note on our [http://basex.org/open-source/ mailing list] with some example code.
===GUI===
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu