Changes

Jump to navigation Jump to search
4 bytes added ,  19:50, 13 June 2013
* {{Code|db:create("DB", <a/>, "doc.xml")}} creates the database {{Code|DB}} and adds the document with content {{Code|&lt;a/&gt;}} under the name {{Code|doc.xml}}.
* {{Code|db:create("DB", "/home/dir/", "docs/dir")}} creates the database {{Code|DB}} and adds the documents in {{Code|/home/dir}} to the database under the path {{Code|docs/dir}}.
* {{Code|<code>db:create("DB", file:list('.'), map { 'ftindex' := true() })}} </code> adds all files of the current working directory to a new database and creates a full-text index.
|}
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu