xdmp.serverRoot( id as (Number|String) ) as String?
Return the root 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. |
xdmp:server-root(845637403676198) => "Docs"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.