Changes

Jump to navigation Jump to search
623 bytes added ,  14:13, 24 June 2011
Updated db:list() documentation
|-
| valign='top' width='90' | '''Signatures'''
|<code><b>db:info</b>() as xs:string</code><br/><code><b>db:info</b>($type as xs:string) as xs:string</code> <font color="red">Version &lt; 6.7</font><br/><code><b>db:info</b>($name as xs:string) as xs:string</code> <font color="red">Version 6.7</font><br/><code><b>db:info</b>($name as xs:string, $type as xs:string) as xs:string</code> <font color="red">Version 6.7</font>
|-
| valign='top' | '''Summary'''
|Returns information on the database that is referenced by the current context item.<font color="red">Version &lt; 6.7</font><br />Without arguments, returns information about the database system, including the database path and current database settings (equivalent to <code>[[#db:system|db:system()]]</code>).<br />If <code>$name</code> is specified, returns information on the specified database<br />If <code>$type</code> is specified, the 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>.
|-
| valign='top' | '''Errors'''
|<b>[[XQuery Errors#BaseX Errors (BASX)|BASX0001]]</b> is raised if the specified index is not available.<br/><b>[[XQuery Errors#BaseX Errors (BASX)|BASX0002]]</b> is raised if the context item does not represent a database node.<font color="red">Version &lt; 6.7</font>
|}
[[Category:XQuery]]
administrator, Bureaucrats, editor, reviewer, Administrators
98

edits

Navigation menu