Loading TOC...

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

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