Loading TOC...

alert:rule-get-query

alert:rule-get-query(
   $rule as element(alert:rule)
) as cts:query

Summary

Get the cts:query corresponding to the rule's query expression.

Parameters
$rule The representation of a rule.

Example

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

  

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