MarkLogic 10 Product Documentation
xdmp:database-is-replica

xdmp:database-is-replica(
   $database-id as xs:unsignedLong
) as xs:boolean

Summary

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

Parameters
database-id A database ID.

Example

xdmp:database-is-replica(8456374036761185098)
=> true
Powered by MarkLogic Server | Terms of Use | Privacy Policy