MarkLogic 9 Product Documentation
flexrep.pullGetByIdflexrep.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
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.