MarkLogic 12 EA 1 Product Documentation
xdmp.databaseName

xdmp.databaseName(
   database-id as (Number|String)
) as String

Summary

Return the name of the database with the given ID.

Parameters
database-id A database ID.

Example

xdmp.databaseName(8456374036761185098);
=> "Documents"
Powered by MarkLogic Server | Terms of Use | Privacy Policy