Changes

Jump to navigation Jump to search
70 bytes removed ,  19:11, 20 August 2018
{{Mark|Introduced with Version 9.1}}: locks via pragmas and function annotations.
* You can declare custom read and write locks via options, pragmas or function annotations.
* The value of the lock may contain one or multiple lock keys (separated with commas).
* Similar to the internal database locks, write locks block all other operations while read locks allow parallel access.
* The internal locks and XQuery locks can co-exist (there will be no conflicts, even if your lock string equals the name of a database that will be locked by the transaction manager).
 
{{Code|basex:read-lock}} and {{Code|basex:write-lock}} options in the query prolog
In the following module, lock annotations are used to prevent concurrent write operations on the same file:
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu