temporal.getUseLsqt( temporal-collection as String ) as Boolean
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. |
const temporal = require("/MarkLogic/temporal.xqy"); temporal.getUseLsqt("kool"); // Returns 'true' if LSQT is enabled on the "kool" collection; // otherwise returns 'false'.