Skip to main content

quote_identifier

Function quote_identifier 

Source
pub fn quote_identifier(name: &str, quote_char: char) -> String
Expand description

Wraps name in quote_char for safe use in SQL statements.

Escapes internal occurrences of quote_char by doubling them.