MarkLogic Server 11.0 Product Documentation
temporal.getUseLsqt

temporal.getUseLsqt(
   temporal-collection as String
) as Boolean

Summary

This function specifies whether the named temporal collection has LSQT (Last Stable Query Time) enabled (true) or disabled (false).

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-collection The name of the temporal collection.

Example

const temporal = require("/MarkLogic/temporal.xqy");
temporal.getUseLsqt("kool");

// Returns 'true' if LSQT is enabled on the "kool" collection; 
//   otherwise returns 'false'. 
Powered by MarkLogic Server | Terms of Use | Privacy Policy