Jump to navigation Jump to search
39 bytes removed ,  12:37, 23 January 2016
|<code>[[Database Module#db:open|db:open]]</code>
|db:open("db", "path/to/docs")
|Returns all documents that are found in the database {{Code|db}} at the (optional) path {{Code|path/to/docs}}.
|<code>[ fn:collection]</code>
|Returns all documents at the location {{Code|path/to/docs}} in the database {{Code|db}}.<br/>If no path is specified after the database, all documents in the database will be returned.<br/>If no argument is specified, all documents of the database will be returned that has been opened in the global context.
|<code>[ fn:doc]</code>
|Returns the document at the location {{Code|path/to/docs}} in the database {{Code|db}}.<br/>An error is raised if the specified yields zero or more than one document.
Bureaucrats, editor, reviewer, Administrators


Navigation menu