Jump to navigation Jump to search
1 byte removed ,  01:56, 27 June 2014
| '''Summary'''
|Creates a new database with name {{Code|$db}} and adds initial documents specified via {{Code|$inputs}} to the specified {{Code|$paths}}. An existing database will be overwritten.<br/>{{Code|$inputs}} may be strings or nodes different than attributes. If the {{Code|$input}} source is not a file or a folder, the {{Code|$paths}} argument is mandatory.<br/>Please note that {{Code|db:create}} will be placed last on the [[XQuery Update#Pending Update List|Pending Update List]]. As a consequence, a newly created database cannot be addressed in the same query.<br/>The {{Code|$options}} argument can be used to change the indexing behavior. Allowed options are all [[Options#Parsing|parsing]], [[Options#XML Parsing|XML parsing]], [[Options#Indexing|indexing]] and [[Options#Full-Text|full-text]] options in lower case. Options can be specified either...<br />
* as children of an {{Code|<options/>}} element, e.g.
<pre class="brush:xml">
Bureaucrats, editor, reviewer, Administrators


Navigation menu