Loading TOC...

flexrep.pullGetById

flexrep.pullGetById(
   pull-id as (Number|String),
   [assert as Boolean]
) as element(flexrep.pull)?

Summary

This function returns the pull replication configuration for the specified Pull ID.

Parameters
pull-id The ID of the pull replication configuration.
assert Determines whether to generate an error if the pull configuration does not exist. Set to true to generate an error, or false to return an empty sequence if the pull configuration does not exist. The default is false.

Example

// Execute on the Replica database.
const flexrep = require('/MarkLogic/flexrep');

  flexrep.pullGetById(13991089731050212552);

  // Returns the pull replication configuration for the specified ID.
    
   

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.