Loading TOC...

MarkLogic Server 11.0 Product Documentation
flexrep:pull-get-id

flexrep:pull-get-id(
   $pull as element(flexrep:pull)
) as xs:unsignedLong

Summary

This function returns the ID for the specified pull configuration.

Parameters
pull The pull replication configuration returned by the flexrep:pull-get function.

Example

  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-id($pull-config) 

  (: Returns the ID for the specified pull configuration. :)
     

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