Loading TOC...

MarkLogic 10 Product Documentation
cts:period-range-query-axis

cts:period-range-query-axis(
   $query as cts:period-range-query
) as xs:string*

Summary

Returns the axis name used to construct the specified query.

Parameters
query A query.

Example

let $period := cts:period(xs:dateTime("2001-05-31T09:30:10-08:00"),
                              xs:dateTime("2003-05-31T09:30:10-08:00"))
let $query := cts:period-range-query("period1","aln_equals", $period)
return
cts:period-range-query-axis($query)
  =>
    period1

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