flexrep:pull-get-enabled( $pull as element(flexrep:pull) ) as xs:boolean
Get the enabled flag for a pull configuration.
Parameters | |
---|---|
pull | The pull configuration. |
xquery version "1.0-ml"; import module namespace flexrep = "http://marklogic.com/xdmp/flexible-replication" at "/MarkLogic/flexrep.xqy"; flexrep:pull-insert( flexrep:pull-set-enabled( $pull, fn:not(flexrep:pull-get-enabled($pull))))