|-
| valign='top' | '''Summary'''
|Lists information on the database system.|-| valign='top' | '''Rules'''|This function returns a simple string with general lists information on the database system, such as including the database path and current database settings.<br />
|}
|-
| valign='top' | '''Summary'''
|Lists all databases.
|-
| valign='top' | '''Rules'''
|This function returns a <code>xs:string</code> sequence with the names of all databases.<br />
|}
|-
| valign='top' width='90' | '''Signatures'''
|<code><b>db:open</b>($name as xs:string) as document-node()*</code><br />
|-
| valign='top' | '''Summary'''
|Retrieves documents from a database.|-| valign='top' | '''Rules'''|This function opens the documents of returns a sequence with all document nodes contained in the database specified by <code>$name</code>. The name of the database may be extended by a collection path.<br />
|-
| valign='top' | '''Examples'''
|-
| valign='top' | '''Summary'''
|Returns a specific database node.|-| valign='top' | '''Rules'''|This function opens the database specified by <code>$name</code> and returns the node with the <i>pre</i> value specified by <code>$pre</code>value.<br />
|-
| valign='top' | '''Examples'''
|-
| valign='top' | '''Summary'''
|Returns a specific database node.|-| valign='top' | '''Rules'''|This function opens the database specified by <code>$name</code> and returns the node with the <i>id</i> value specified by <code>$id</code>value.<br />In contrast to the <i>pre</i> value, the <i>id</i> will remain valid after update operations.<br />
|-
| valign='top' | '''Errors'''
|-
| valign='top' | '''Summary'''
|Returns the <code>pre</code> values of database nodes.|-| valign='top' | '''Rules'''|This function returns the <codei>pre</codei> values of all database nodes specified by <code>$nodes</code>. <codei>pre</codei> values are direct, internal pointers to database nodes, which might be changed by updates.<br />
|-
| valign='top' | '''Examples'''
|-
| valign='top' | '''Summary'''
|Returns the <code>id</code> values of database nodes.|-| valign='top' | '''Rules'''|This function returns the <codei>id</codei> values of all database nodes specified by <code>$nodes</code>. <codei>id</codei> values are pointers to database nodes, which are not changed by updates.<br />
|}
|-
| valign='top' | '''Summary'''
|Returns results from a text index request.|-| valign='top' | '''Rules'''|This function accesses the text index and returns all text nodes that have <code>$string</code> as their string value.<br />
|-
| valign='top' | '''Examples'''
|-
| valign='top' | '''Summary'''
|Returns results from a attribute index request.|-| valign='top' | '''Rules'''|This function accesses the attribute index and returns all attribute nodes that have <code>$string</code> as their string value.<br />If <code>$name</code> is specified, the resulting attribute nodes are filtered by their attribute name.<br />
|-
| valign='top' | '''Examples'''
|-
| valign='top' | '''Summary'''
|Returns results from a full-text index request.
|-
| valign='top' | '''Rules'''
|This function accesses the full-text index and returns all text nodes that contain the string <code>$text</code>. The index full-text options are used for searching, i.e., if the index terms were stemmed, the search string will be stemmed as well.<br />
|-
|-
| valign='top' | '''Summary'''
|Returns database information.|-| valign='top' | '''Rules'''|This function returns information on the database that is referenced by the current context item.<br />If <code>$type</code> is specified, the funnction function returns information on a database index. It must be one of the values <code>TEXT</code>, <code>ATTRIBUTE</code>, <code>FULLTEXT</code>, <code>PATH</code>, <code>TAG</code>, or <code>ATTNAME</code>.<br />
|-
| valign='top' | '''Errors'''