cts.beforeQueryTimestamp( query as cts.beforeQuery ) as (Number|String)
Returns the timestamp with which a specified query was constructed.
Parameters | |
---|---|
query | A query. |
cts.beforeQueryTimestamp(cts.beforeQuery( xdmp.wallclockToTimestamp( fn.currentDateTime().subtract(xs.dayTimeDuration("PT3H")))) ) // => timestamp of the specified query
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.