
flexrep.domainTargetStatuses() as Sequence
This function returns the status for each domain target.
const flexrep = require('/MarkLogic/flexrep');
flexrep.domainTargetStatuses();
// Returns the status for the targets in each domain configured for the database.
http://marklogic.com/xdmp/privileges/flexrep-user
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.