Changes

Jump to navigation Jump to search
8 bytes added ,  14:54, 15 January 2013
The current identification of which databases to lock is limited to [[commands]] using no glob syntax and queries that access the currently opened database, XQuery functions that explicitly specify a database, and expressions that address no database at all.
; **Some examples on database-locking enabled commands:**
* {{Code|CREATE DB newdb}}, write-locking of "newdb"
* {{Code|ADD input.xml}}, write-locking of the database opened by a client
; **Some examples on database-locking enabled queries:**
* {{Code|//item}}, read-locking of the database opened by a client
* {{Code|delete nodes doc('test')//*[string-length(local-name(.)) > 5]}}, write-locking of "test"
**All of these queries can be executed in parallel.:**
; Some examples on queries that are not supported by database-locking yet:
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu