Changes

Jump to navigation Jump to search
No change in size ,  03:12, 8 June 2012
m
Text replace - "{{mono" to "{{Code"
|-
| '''Summary'''
|Specifies the maximum time a read-only transaction may take. If an operation takes longer than the specified timeout, it will be aborted.<br/>Write operations will not be affected by this timeout, as this would corrupt the integrity of the database.<br/>The timeout is deactivated if the timeout is set to {{monoCode|0}}. Since {{Version|7.2}}, it is ignored for {{Code|ADMIN}} operations.
|}
|-
| '''Summary'''
|Specifies the maximum time reserved for creating a new session. If authentication takes longer than the specified timeout, the connection will be closed.<br/>The timeout is deactivated if the timeout is set to {{monoCode|0}}.
|}
|-
| '''Summary'''
|Specifies the maximum time a client will be remembered by the server. If there has been no interaction with a client for a longer time than specified by this timeout, it will be disconnected. Running operations will not be affected by this option. The keepalive check is deactivated if the value is set to {{monoCode|0}}.
|}
|-
| '''Summary'''
|Parses referenced DTDs and resolves XML entities. By default, this option is switched to {{monoCode|false}}, as many DTDs are located externally, which may completely block the process of creating new databases. The [[#CATFILE|CATFILE]] option can be changed to locally resolve DTDs.
|}
|-
| '''Summary'''
|If this option is set to {{monoCode|true}}, files within archives (ZIP, GZIP, DOCX, etc.) are parsed whenever new database are created or resources are added to a database.
|}
|-
| '''Summary'''
|Flushes database buffers to disk after each update. If this option is set to {{monoCode|false}}, bulk operations (multiple single updates) will be evaluated faster. As a drawback, the chance of data loss increases if the database is not explicitly flushed via the [[Commands#FLUSH|FLUSH]] command.
|}
|-
| '''Summary'''
|Enables all [[XQuery 3.0]] features supported by BaseX. If this option is set to {{monoCode|false}}, the XQuery parser will only accept expressions of the XQuery 1.0 specification.
|}
|-
| '''Summary'''
|Results of XQuery expressions will be serialized if this option is turned on. For debugging purposes and performance measurements, this option can be set to {{monoCode|false}}.
|}
|-
| '''Examples'''
|<code>$a=1,$b=2</code> &nbsp; binds the values {{monoCode|1}} and {{monoCode|2}} to the variables $a and $b<br/><code>a=1,,2</code> &nbsp; binds the value {{monoCode|1,2}} to the variable $a<br/><code>{URI}a=x</code> or <code>'URI':a=x</code> &nbsp; binds the value {{Code|x}} to the variable $a with the namespace {{Code|URI}}.
|}
|-
| '''Example'''
|<code>encoding=US-ASCII,omit-xml-declaration=no</code> : sets the encoding to {{monoCode|US-ASCII}} and prints the XML declaration.
|}
|-
| '''Summary'''
|Caches the query results before returning them to the client. This option may be set to {{monoCode|true}} if the whole result is needed for further operations (such as is e.g. the case in the GUI of BaseX).
|}
|-
| '''Summary'''
|By activating this option, the XQuery {{monoCode|doc()}} and {{monoCode|collection()}} functions will create database instances for the addressed input files.
|}
|-
| '''Summary'''
|Location of the {{monoCode|dotty}} executable.
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu