MarkLogic 9 Product Documentation
flexrep.pullGetDomainId

flexrep.pullGetDomainId(
   pull as element(flexrep.pull)
) as (Number|String)

Summary

This function returns the ID of the domain associated with the specified pull configuration.

Parameters
pull The pull configuration.

Example

// Execute against a Replica database.

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

  for (let pullConfig of flexrep.pullGetAll()) {
    flexrep.pullGetDomainId(pullConfig);
  }

  // Returns the domain IDs associated with each pull configuration.
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy