MarkLogic 12 EA 1 Product Documentation
cts:lsqt-query-timestamp

cts:lsqt-query-timestamp(
   $query as cts:lsqt-query
) as xs:dateTime

Summary

Returns timestamp used to construct the specified query.

Parameters
query A query.

Example

let $query :=
  cts:lsqt-query("temporal",
                 xs:dateTime("2014-09-03T15:26:41.452342-07:00"),
                 "cached-incremental", xs:double("3.13"))
return
  cts:lsqt-query-timestamp($query)
  => 2014-09-03T15:26:41.452342-07:00
Powered by MarkLogic Server | Terms of Use | Privacy Policy