Skip to main content

quote_ident

Function quote_ident 

Source
pub fn quote_ident(name: &str) -> String
Expand description

Quote a SQL identifier with double quotes to prevent injection. Embedded double quotes are escaped by doubling them (SQL standard, works in SQLite and Postgres).