MarkLogic 9 Product Documentation
flexrep:pull-get-urls

flexrep:pull-get-urls(
   $pull as element(flexrep:pull)
) as xs:string*

Summary

This function returns the URLs associated with the specified pull configuration.

Parameters
pull The pull configuration.

Example

  (: Execute against a Replica database. :)   
  xquery version "1.0-ml"; 

  import module namespace flexrep = "http://marklogic.com/xdmp/flexible-replication" 
      at "/MarkLogic/flexrep.xqy";

  let $pull-config := flexrep:pull-get(9535475951259984368, fn:true()) 

  return flexrep:pull-get-urls($pull-config)

  (: Returns the target URLs associated with the specified pull configuration. :)
     
Powered by MarkLogic Server | Terms of Use | Privacy Policy