MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / as_str

Method as_str

nodedb/src/control/trigger/registry.rs:229–235  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

227
228impl DmlEvent {
229 pub fn as_str(self) -> &'static str {
230 match self {
231 Self::Insert => "INSERT",
232 Self::Update => "UPDATE",
233 Self::Delete => "DELETE",
234 }
235 }
236}
237
238fn matches_event(trigger: &StoredTrigger, event: DmlEvent) -> bool {

Callers 15

process_eventFunction · 0.45
execute_then_actionFunction · 0.45
pushMethod · 0.45
parse_type_strFunction · 0.45
record_sorts_and_dedupesFunction · 0.45
sql_type_to_wasmFunction · 0.45
tokenizeFunction · 0.45
peek_two_word_keywordFunction · 0.45

Calls

no outgoing calls

Tested by 4

record_sorts_and_dedupesFunction · 0.36
custom_key_fnFunction · 0.36