Skip to main content

quote_ident

Function quote_ident 

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

Quote a SQL identifier (table/column/schema) per database dialect, but only when quoting is syntactically required. Trivially-safe identifiers pass through untouched.