Loading TOC...

MarkLogic 12 EA 1 Product Documentation
xdmp:database-nonblocking-timestamp

xdmp:database-nonblocking-timestamp(
   $database-id as xs:unsignedLong
) as xs:unsignedLong

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:database-nonblocking-timestamp(8456374036761185098)
=> 13155925136769870

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