MarkLogic 9 Product Documentation
flexrep:pull-get-enabled

flexrep:pull-get-enabled(
   $pull as element(flexrep:pull)
) as xs:boolean

Summary

Get the enabled flag for a pull configuration.

Parameters
pull The pull configuration.

Example


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))))
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy