xdmp.databaseIsReplica( database-id as (Number|String) ) as Boolean
Tests if a database is a replica of a foreign database.
xdmp.databaseIsReplica(8456374036761185098); => true
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.