Loading TOC...

xdmp.databaseIsReplica

xdmp.databaseIsReplica(
   $database-id as 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

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

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.