Skip to main content

sqlite_sql_mentions_ident

Function sqlite_sql_mentions_ident 

Source
pub fn sqlite_sql_mentions_ident(sql: &str, ident: &str) -> bool
Expand description

Whether sql references identifier ident (a column or table name).

Matches "ident", `ident` and [ident] plus a bare ident word. Single-quoted string literals are skipped so 'val' does not count as the column val. Case-insensitive, like SQLite identifiers.