flexrep.pullGetId( pull as element(flexrep.pull) ) as (Number|String)
This function returns the ID for the specified pull configuration.
Parameters | |
---|---|
pull |
The pull replication configuration returned by the
flexrep.pullGet
function.
|
const flexrep = require('/MarkLogic/flexrep'); const pullConfig = flexrep.pullGet(13991089731050213376, true); flexrep.pullGetId(pullConfig); // Returns the ID for the specified pull configuration.