MarkLogic 12 EA 1 Product Documentation
xdmp.databaseIsReplica

xdmp.databaseIsReplica(
   database-id as (Number|String)
) as Boolean

Summary

Tests if a database is a replica of a foreign database.

Parameters
database-id A database ID.

Example

xdmp.databaseIsReplica(8456374036761185098);
=> true
Powered by MarkLogic Server | Terms of Use | Privacy Policy