Loading TOC...

MarkLogic 12 EA 2 Product Documentation
cts.periodRangeQueryOperator

cts.periodRangeQueryOperator(
   query as cts.periodRangeQuery
) as String

Summary

Returns the operator used to construct the specified query.

Parameters
query A query.

Example

const period = cts.period(xs.dateTime("2001-05-31T09:30:10-08:00"),
                        xs.dateTime("2003-05-31T09:30:10-08:00"));
const query = cts.periodRangeQuery("period1","aln_equals", period);
cts.periodRangeQueryOperator(query);
  =>
    aln_equals

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