Changes

Jump to navigation Jump to search
336 bytes removed ,  12:28, 7 December 2010
→‎db:open: wikified table
==db:open==
<table> {| <tr> |- <td | width="90"> | <b>Signatures</b> </td> <td> |<code> <b>db:open</b>($name as xs:string) as document-node()</code> <br /> </td> </tr> <tr> <td> |- | <b>Summary</b> </td> <td>| Returns documents from a database.</td> </tr> <tr> |- <td> | <b>Rules</b> </td> <td>| This function opens the documents of the database specified by <code>$name</code>. The name of the database may be extended by a collection path.<br /> </td> </tr> <tr> <td> |- | <b>Examples</b> </td> <td>| The expression <code>db:open("docs")</code> returns all documents from the database named <code>docs</code>.<br />The expression <code>db:open("docs/one")</code> returns all documents from the database named <code>docs</code> in the subpath <code>one</code>.<br /> </td> </tr> <tr> <td> |- | <b>Errors</b> </td> <td> | <b>[BASX0003]</b> is raised if the database is not found.<br /> </td> </tr> </table> |}
==db:open-pre==
<table>
Anonymous user

Navigation menu