fn check_guards(asts: &[Statement], confirm_dangerous: bool) -> GuardResultExpand description
护栏 1+2:sqlparser 解析后遍历 AST,检查高危语句与无 WHERE 的 UPDATE/DELETE。
fn check_guards(asts: &[Statement], confirm_dangerous: bool) -> GuardResult护栏 1+2:sqlparser 解析后遍历 AST,检查高危语句与无 WHERE 的 UPDATE/DELETE。