
flexrep:pull-get-domain-id( $pull as element(flexrep:pull) ) as xs:unsignedLong
This function returns the ID of the domain associated with the specified pull configuration.
| Parameters | |
|---|---|
| pull | The pull configuration. |
(: 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-domain-id($pull-config)
(: Returns the domain IDs associated with each pull configuration. :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.