xdmp.databaseNonblockingTimestamp

xdmp.databaseNonblockingTimestamp(
   database-id as (Number|String)
) as (Number|String)

Summary

Returns the most recent commit timestamp for which a query on the database will not block waiting for transactions to commit or journal frames to arrive from a foreign master.

Parameters
database-id A database ID.

Example

xdmp.databaseNonblockingTimestamp(8456374036761185098);
=> 13155925136769870
Powered by MarkLogic Server | Terms of Use | Privacy Policy