MarkLogic 10 Product Documentation
flexrep.binaryChunkUris

flexrep.binaryChunkUris(
   ts as Date
) as Sequence

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

  const flexrep = require('/MarkLogic/flexrep');

  flexrep.binaryChunkUris(xs.dateTime("2018-01-01T08:00:00"));

  // Returns the URIs of binary chunks that were created before 2018-01-01T08:00:00.
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy