temporal:get-use-lsqt( $temporal-collection as xs:string ) as xs: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. |
xquery version "1.0-ml"; import module namespace temporal = "http://marklogic.com/xdmp/temporal" at "/MarkLogic/temporal.xqy"; temporal:get-use-lsqt("kool") (: Returns 'true' if LSQT is enabled on the "kool" collection; otherwise returns 'false'. :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.