MarkLogic 12 EA 1 Product Documentation
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
Powered by MarkLogic Server | Terms of Use | Privacy Policy