Loading TOC...

MarkLogic 9 Product Documentation
flexrep:binary-chunk-uris

flexrep:binary-chunk-uris(
   $ts as xs:dateTime
) as xs:string*

Summary

This function returns the URIs of binary chunks that were created before the given dateTime.

Parameters
ts The dateTime.

Usage Notes

The URI lexicon must be enabled to use binary-chunk-uris. (It is enabled by default.)

Example

  xquery version "1.0-ml"; 

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

  flexrep:binary-chunk-uris(xs:dateTime("2014-01-01T08:00:00"))

  (: Returns the URIs of binary chunks that were created before 2014-01-01T08:00:00. :)
     

Required Privileges

http://marklogic.com/xdmp/privileges/flexrep-admin

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