Loading TOC...

MarkLogic 9 Product Documentation
flexrep.configurationDomainIds

flexrep.configurationDomainIds() as Sequence

Summary

This function returns the IDs of the domains configured for the Master database.

Example

const flexrep = require('/MarkLogic/flexrep');

  flexrep.configurationDomainIds();

  // Returns the IDs of the domains used by the database on which the query 
  // is executed.
   

Required Privileges

http://marklogic.com/xdmp/privileges/flexrep-admin

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