Loading TOC...

MarkLogic Server 11.0 Product Documentation
dbg:function

dbg:function(
   $request as xs:unsignedLong,
   $uri as xs:string,
   $function as xs:QName
) as xs:unsignedLong

Summary

Returns the expression ID representing the function defined in a module with a given name.

Parameters
request Request ID.
uri Module URI.
function function name.

Required Privileges

http://marklogic.com/xdmp/privileges/debug-my-requests or http://marklogic.com/xdmp/privileges/debug-any-requests

Example

  dbg:function(20293482, "/security.xqy", $function)
  => 5032942
  

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