Loading TOC...

MarkLogic 12 EA 2 Product Documentation
cts:period-compare-query-axis-1

cts:period-compare-query-axis-1(
   $query as cts:period-compare-query
) as xs:string

Summary

Returns the name of the first axis used to construct the specified query.

Parameters
query A query.

Example

let $query :=
  cts:period-compare-query("system","aln_overlaps","valid",
    "cached", xs:double("3.13"))
return
  cts:period-compare-query-axis-1($query)
  => system

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