Rindle docs and package mapSkip to main content

classify_statement

Function classify_statement 

pub fn classify_statement(sql: &str) -> StatementClass
Expand description

Classify by the first executable top-level keyword, after stripping comments and accounting for CTE bodies. sqlite3_stmt_readonly remains an execution-time cross-check.