Loading TOC...

temporal.getLsqt

temporal.getLsqt(
   $temporal-collection as String
) as Date

Summary

This function returns the Last Stable Query Time (LSQT) for the collection at current moment. Should read lock if it is in update.

For details on how to use LSQT, see Last Stable Query Time (LSQT) and Application-controlled System Time in the Temporal Developer's Guide

Parameters
$temporal-collectionName of temporal collection to get LSQt on

Example

var temporal = require("/MarkLogic/temporal.xqy");
temporal.getLsqt("temporal");

// Returns the Last Stable Query Time for the "temporal" collection. 

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy