Loading TOC...

MarkLogic 10 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.
   

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