Loading TOC...

cts.rangeQueryIndex

cts.rangeQueryIndex(
   $query as cts.rangeQuery
) as Sequence

Summary

Returns the range index used to construct the specified query.

Parameters
$query A range query.

Example

cts.rangeQueryIndex(
  cts.rangeQuery(cts.elementReference(xs.QName("date")), "<=",
      xs.date("2000-01-01")));
  => cts.elementReference(xs.QName("date"))

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