MarkLogic 12 EA 1 Product Documentation
cts.periodRangeQueryAxis

cts.periodRangeQueryAxis(
   query as cts.periodRangeQuery
) as Sequence

Summary

Returns the axis name 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.periodRangeQueryAxis(query);
  =>
    period1
Powered by MarkLogic Server | Terms of Use | Privacy Policy