xdmp:modules-database() as xs:unsignedLong
Returns the database ID of the modules database. Returns 0 if the current App Server uses the file system for its modules.
xdmp:modules-database() => 8447094497219470018
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.