xdmp:database-name

xdmp:database-name(
   $database-id as xs:unsignedLong
) as xs:string

Summary

Return the name of the database with the given ID.

Parameters
database-id A database ID.

Example

xdmp:database-name(8456374036761185098)
=> "Documents"
Powered by MarkLogic Server | Terms of Use | Privacy Policy