|-
| '''Summary'''
|Returns a sequence of strings. The result of this function is dependent on the number of arguments:
* Without arguments, the names of all databases are returned.
* If a database {{Code|$db}} is specified, all documents and raw files of the specified database are returned.
|-
| '''Summary'''
|Returns a sequence of elements. The result is dependent on the number of arguments:* Without arguments, an element is returned for each database. :* An element has a value, which is the name of the database, and several attributes, which contain the number of stored resources, the modification date and the database path.* If a database {{Code|$db}} is specified, all documents and raw files of the specified database are returned. :* An element has a value, which is the name of the resource, and several attributes, which contain the content type, the modification date, the raw flag (which indicates if the resource is binary or XML), and the size of a resource.
* Returned databases resources can be further restricted by the {{Code|$path}} argument.
* The value of the size attribute depends on the resource type:* for documents, it represents the number of nodes, and* ; for binary data, it represents the number of bytes.
|-
| '''Errors'''