Loading TOC...

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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.