Changes

Jump to navigation Jump to search
8 bytes added ,  20:55, 19 July 2022
m
Text replacement - "db:open" to "db:pre"
Values of options are either ''strings'', ''numbers'' or ''booleans''. Options are ''static'' and not bound to a single operation (for example, the next command). Various ways exist to access and change options:
* The current value of an option can be requested with the {{Command|GETSHOW OPTIONS}} command. Local options can be changed via {{Command|SET}} (all global options, except for {{Option|DEBUG}}, can only be changed at startup time). If an option is of type ''boolean'', and if no value is specified, its current value will be inverted.
* The {{Code|.basex}} [[Configuration#Configuration Files|configuration file]] is parsed by every new local BaseX instance. It contains all global options. Local options can be specified at the end of the file after the {{Code|Local Options}} comment:
|-
| '''Default'''
|{{Code|89858081}}
|-
| '''Summary'''
|-
| '''Summary'''
|By default, resources specified via [[Databases#XML Documents|fn:doc]] and [[Databases#XML Documents|fn:collection]] are looked up both in the database and in the file system. If you always use {{Function|Database|db:openpre}} to access databases, it is recommendable to disable this option:
* No locks will be created for the two functions (see [[Transaction Management#Limitations|limitations of database locking]] for more details).
* Access to local and external resources will be faster, as the database lookup will be skipped.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu