Loading TOC...

cts.periodRangeQueryPeriod

cts.periodRangeQueryPeriod(
   $query as cts.periodRangeQuery
) as Sequence

Summary

Returns the period used to construct the specified query.

Parameters
$query A query.

Example

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

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy