Skip to main content

quote_ident

Function quote_ident 

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

Quote a PostgreSQL identifier, escaping embedded double-quotes. Use this instead of duplicating format!("\"{}\"", s.replace('"', "\"\"")) in every module.