Loading TOC...

MarkLogic 9 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"

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.