MarkLogic Server 11.0 Product Documentation
flexrep.pullGetId

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

Summary

This function returns the ID for the specified pull configuration.

Parameters
pull The pull replication configuration returned by the flexrep.pullGet function.

Example

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

  const pullConfig = flexrep.pullGet(13991089731050213376, true); 

  flexrep.pullGetId(pullConfig); 

  // Returns the ID for the specified pull configuration.
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy