Skip to main content

quote_ident

Function quote_ident 

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

Quote an SQL identifier (table/column name), doubling any embedded quote, so a trusted-but-unbindable name interpolates safely. Identifiers cannot be passed as bound parameters; this is the safe interpolation path for them.