Loading TOC...

alert.ruleGetName

alert.ruleGetName(
   $rule as Object
) as String

Summary

This function returns the name of a given rule.

Parameters
$rule The representation of a rule.

Example

  var alert = require("/MarkLogic/alert.xqy");

  alert.ruleGetName(
        alert.getAllRules("http://acme.com/alert/message-board", 
                          cts.wordQuery("dna"))[0])
  => "nucleic acids email"
  

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy