Changes

Jump to navigation Jump to search
102 bytes added ,  13:25, 2 April 2017
no edit summary
The options listed on this page influence the way how database [[Commands|commands]] are executed and XQuery expressions are evaluated. Two kinds of options exist:
* '''[[#Global Options|Global Options]]''' are valid for all BaseX instances;in the same JVM. This is particularly relevant if you are working with the client/server architecture.
* '''Local options''' (all remaining ones) are specific to a client or session.
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|GET}} command. Local options can be changed via {{Command|SET}} (all global options, except for {{Option|DEBUG}}, can only be changed at startup time). All values are ''static'': They stay valid until they are changed once again by another operation. 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:
<pre class="brush:perl">
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu