| valign='top' | '''Summary'''
|Returns an {{Mono|xs:string}} sequence with the names of all databases.<br/>If {{Mono|$db}} is specified, all documents and raw files of the specified database are returned.<br/>The list of resources can be further restricted by the {{Mono|$path}} argument.
|}
==db:list-details==
{|
|-
| valign='top' width='90' | '''Signatures'''
|{{Mono|'''db:list-details'''() as element(database)*}}
|-
| valign='top' | '''Summary'''
|Returns an {{Mono|xs:string}} Returns information on the specified databases.
|}