Loading TOC...

MarkLogic Server 11.0 Product Documentation
temporal:get-lsqt-automation-period

temporal:get-lsqt-automation-period(
   $temporal-collection as xs:string
) as xs:long

Summary

This function returns how often Last Stable Query Time (LSQT) is automatically advanced, in milliseconds.

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 temporal collection.

Example


xquery version "1.0-ml";

import module namespace temporal = "http://marklogic.com/xdmp/temporal"
      at "/MarkLogic/temporal.xqy";

temporal:get-lsqt-automation-period("temporalCollection")
=>
1000

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