Changes

Jump to navigation Jump to search
176 bytes added ,  13:29, 25 January 2018
|}
==db:systemoption==
{{Mark|Introduced with Version 9.0:}}
|-
| width='120' | '''Signatures'''
|{{Func|db:systemoption|$name as xs:string|element(system)xs:string}}
|-
| '''Summary'''
|Returns the current value (string, integer, boolean, map) of a global or local [[Option]]with the specified {{$name}}. The [[Commands#GET|GET]] command works similar.
|-
| '''Examples'''
|
* <code>db:option('dbpath')</code> returns the database pathstring.* <code>db:option('serializer')</code> returns a map with the current serialization parameters.
* <code>declare option db:chop 'true'; db:option('chop')</code> returns {{Code|true}} (irrespective of the global value).
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu