(name: &str, collection: &str, priority: i32)
| 85 | } |
| 86 | |
| 87 | fn make_trigger_with_priority(name: &str, collection: &str, priority: i32) -> StoredTrigger { |
| 88 | let mut t = make_trigger( |
| 89 | name, |
| 90 | collection, |
| 91 | true, |
| 92 | true, |
| 93 | true, |
| 94 | TriggerExecutionMode::Async, |
| 95 | ); |
| 96 | t.priority = priority; |
| 97 | t |
| 98 | } |
| 99 | |
| 100 | // --------------------------------------------------------------------------- |
| 101 | // WriteOp data-event classification |
no test coverage detected