MarkLogic 10 Product Documentation
cts.lsqtQueryTimestamp

cts.lsqtQueryTimestamp(
   query as cts.lsqtQuery
) as Date

Summary

Returns timestamp used to construct the specified query.

Parameters
query A query.

Example

const query =
  cts.lsqtQuery("temporal",
                 xs.dateTime("2014-09-03T15:26:41.452342-07:00"),
                 "cached-incremental", xs.double("3.13"));
cts.lsqtQueryTimestamp(query);
  => 2014-09-03T22:26:41.452342
Powered by MarkLogic Server | Terms of Use | Privacy Policy