trgr.triggerSetDescription( trigger-name as String, description as String ) as null
Sets the description of the named trigger.
Parameters | |
---|---|
trigger-name | The trigger name. |
description | The new trigger description. |
This function must be run in the context of the database containing the trigger whose description is to be changed.
If the named trigger does not exist, the exception
TRGR-TRIGGERDNE
is raised.
// Run in the context of the database containing the trigger. declareUpdate(); const trgr = require('/MarkLogic/triggers'); trgr.triggerSetDescription('currentName', 'newDescription');
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.