Loading TOC...

xdmp.serverDatabase

xdmp.serverDatabase(
   $id as String
) as String?

Summary

Return the database ID of the App Server, XDBC Server, ODBC Server, or Task Server with the given ID. For a Task Server, return the empty sequence.

Parameters
$id An App Server, XDBC Server, ODBC Server, or Task Server ID.

Example

xdmp:server-database(845637403676198)
=> 12345678901234

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

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.