Loading TOC...

MarkLogic 12 EA 2 Product Documentation
cts:json-property-range-query-property-name

cts:json-property-range-query-property-name(
   $query as cts:json-property-range-query
) as xs:string*

Summary

Returns the JSON property name used to construct the specified query.

Parameters
query A query.

Example

let $query := cts:json-property-range-query("date", "<=",
      xs:date("2000-01-01"))
return
cts:json-property-range-query-property-name($query)
  => "date"

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