MarkLogic 9 Product Documentation
alert:action-get-module-db

alert:action-get-module-db(
   $action as element(alert:action)
) as xs:unsignedLong

Summary

This function returns the module database of a given action.

Parameters
$action The representation of an action.

Example

  xquery version "1.0-ml";
  import module namespace alert = "http://marklogic.com/xdmp/alert" 
		  at "/MarkLogic/alert.xqy";

  let $action := alert:get-actions("my-alert-config-uri", "my-action")
  return
  alert:action-get-module-db($action)
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy