Loading TOC...

cts:element-value-query-options

cts:element-value-query-options(
   $query as cts:element-value-query
) as xs:string*

Summary

Returns the options for the specified query.

Parameters
$query A query.

Example

let $query := cts:element-value-query(
              xs:QName("function"),
              "MarkLogic Corporation")
return cts:element-value-query-options($query)

  => "lang=en"

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

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.
  • Hi I have a date path range index which contains value in two date format: first format is : "yyyy-mm-ddThh:mm:ss.SSSSSSZ" (For e.g. 2018-01-08T11:25:18.675000Z) second format is: yyyy-MM-dd'T'HH:mm:ss'Z' (e.g. 2017-11-30T15:26:21Z) I wanted to fetch all the documents which matches first format of date Can someone please help on this?
    • I recommend that you ask this on Stack Overflow (https://stackoverflow.com/questions/tagged/marklogic) where it will reach a wider audience, as well as others who may have the same question.