Loading TOC...

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'. 

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