Loading TOC...

xdmp:request-log-get

xdmp:request-log-get(
   $key as xs:string
) as item()

Summary

Retrieves the value stored under the specified $key for the current request. When there is no data stored under the key an empty sequence is returned.

Parameters
$key A key. If the key does not exit, an empty sequence is returned.

Example

xdmp:request-log-get("someKey1")

=>

15

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