
cts:range-query-index( $query as cts:range-query ) as xs:QName*
Returns the range index used to construct the specified query.
| Parameters | |
|---|---|
| query | A range query. |
let $query := cts:range-query(cts:element-reference(xs:QName("date")), "<=",
xs:date("2000-01-01"))
return
cts:range-query-index($query)
=> cts:element-reference(xs:QName("date"))
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.