MarkLogic 9 Product Documentation
cts:period-range-query-period

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

Summary

Returns the period 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-period($query)
  =>
cts:period(xs:dateTime("2001-05-31T17:30:10"),
xs:dateTime("2003-05-31T17:30:10"))
Powered by MarkLogic Server | Terms of Use | Privacy Policy