pub mod batch;
pub mod dml_hook;
pub mod dml_hook_fire;
pub mod fire;
pub mod fire_after;
pub mod fire_before;
pub mod fire_common;
pub mod fire_instead;
pub mod fire_statement;
pub mod registry;
pub mod row_identity;
pub mod when_parse;
pub use registry::{DmlEvent, TriggerRegistry};
pub fn try_eval_simple_condition(condition: &str) -> Option<bool> {
let trimmed = condition.trim().to_uppercase();
match trimmed.as_str() {
"TRUE" | "1" => Some(true),
"FALSE" | "0" | "NULL" => Some(false),
_ => None,
}
}