xdmp.modulesDatabase() as (Number|String)
Returns the database ID of the modules database. Returns 0 if the current App Server uses the file system for its modules.
xdmp.modulesDatabase(); => 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.