Changes

Jump to navigation Jump to search
1 byte added ,  19:55, 11 March 2015
m
Fix typo
===XQuery Locking Options===
Custom locks can be acquired by setting the BaseX-specific XQuery options {{Code|query:read-lock}} and {{Code|query:write-lock}}. Multiple option declaration declarations may occur in the prolog of a query, but multiple values can also be separated with commas in a single declaration. These locks are in another namespace than the database names: the lock value {{Code|factbook}} will not lock a database named factbook.
These option declarations will put read locks on ''foo'', ''bar'' and ''batz'' and a write lock on ''quix'':
administrator, editor
41

edits

Navigation menu