
flexrep:do-pull( $pull as element(flexrep:pull) ) as element()*
This function is used by a Replica to pull updates from the Master. It returns a list of elements;
the first element is the response element that was set back to the master, followed by
one or more flexrep:ack elements that were posted back to the master.
| Parameters | |
|---|---|
| pull |
The pull replication configuration returned by the
flexrep:pull-get function.
|
xquery version "1.0-ml";
import module namespace flexrep = "http://marklogic.com/xdmp/flexible-replication"
at "/MarkLogic/flexrep.xqy";
let $pull := flexrep:pull-get(8720056888183458895)
return flexrep:do-pull($pull)
(: Returns the response and ACK elements last sent to the master. :)
http://marklogic.com/xdmp/privileges/flexrep-user
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.