ormdantic-dialects 2.0.1

SQL dialect support for Ormdantic
Documentation
1
2
3
4
5
6
7
pub(crate) fn quote_double(ident: &str) -> String {
    format!("\"{}\"", ident.replace('"', "\"\""))
}

pub(crate) fn quote_backtick(ident: &str) -> String {
    format!("`{}`", ident.replace('`', "``"))
}