flexrep:pull-get-target-id( $pull as element(flexrep:pull) ) as xs:unsignedLong
This function returns the ID of the target associated with the specified pull configuration.
Parameters | |
---|---|
pull |
The pull replication configuration returned by the
flexrep:pull-get function.
|
(: Execute against a Replica database. :) xquery version "1.0-ml"; import module namespace flexrep = "http://marklogic.com/xdmp/flexible-replication" at "/MarkLogic/flexrep.xqy"; for $pull-config in flexrep:pull-get-all() return flexrep:pull-get-target-id($pull-config) (: Returns the target IDs associated with each pull configuration. :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.