Loading TOC...

MarkLogic Server 11.0 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))))
    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.