Changes

Jump to navigation Jump to search
152 bytes removed ,  12:13, 20 July 2022
no edit summary
|-
| '''Summary'''
|By default, resources specified via [[Databases#XML Documents{{Code|fn:doc]] }} and [[Databases#XML Documents{{Code|fn:collection]] }} are looked up both in the database and in the file system. If you always use {{Function|Database|db:pre}} 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.
|-
| '''Summary'''
|If this option is turned on, paths specified in the [[Databases#XML Documents{{Code|fn:doc]] }} and [[Databases#XML Documents{{Code|fn:collection]] }} functions will first be resolved against a database that has been opened in the global context outside the query (e.g. by the {{Command|OPEN}} command). If the path does not match any existing resources, it will be resolved as described in the article on [[Databases#Access Resources|accessing database resources]].
|}
|-
| '''Summary'''
|By activating this option, database instances will be created with the XQuery functions [[Databases#XML Documents{{Code|fn:doc]] }} and [[Databases#XML Documents{{Code|fn:collection]]}}.
|}
|-
| '''Summary'''
|Propagates updates on main-memory instances of files that have been retrieved via [[Databases#XML Documents{{Code|fn:doc]] }} and [[Databases#XML Documents{{Code|fn:collection]] }} back to disk:
* This option can also be activated on [[Command-Line Options#BaseX Standalone|command line]] via <code>-u</code>.
* Please take in mind that no backup will be created from your original files.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu