Changes

Jump to navigation Jump to search
208 bytes added ,  13:46, 20 August 2018
no edit summary
===Query Options===
{{Mark|Updated with Version 9.1}}: options were moved from {{Code|query}} to {{Code|basex}} namespace. * You can declare custom locks via the {{Code|querybasex:read-lock}} and {{Code|querybasex:write-lock}} options in the query prolog.
* The value of the option contains the lock string, or multiple ones (separated with commas).
* Similar to the internal database locks, write locks block all other operations while read locks allow parallel access.
(:~ Read lock on CONFIG key. :)
declare option querybasex:read-lock 'CONFIG';
declare function read:config() {
(:~ Write lock on CONFIG key. :)
declare option querybasex:write-lock 'CONFIG';
declare function write:file($data) {
=Changelog=
 
;Version 9.1
* Updated: Query lock options were moved from {{Code|query}} to {{Code|basex}} namespace.
;Version 8.6
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu