pub trait EscapeBuilder {
// Provided methods
fn escape_string(&self, string: &str) -> String { ... }
fn unescape_string(&self, string: &str) -> String { ... }
}
Provided Methods§
sourcefn escape_string(&self, string: &str) -> String
fn escape_string(&self, string: &str) -> String
Escape a SQL string literal
sourcefn unescape_string(&self, string: &str) -> String
fn unescape_string(&self, string: &str) -> String
Unescape a SQL string literal
Implementors§
impl EscapeBuilder for MysqlQueryBuilder
Available on crate feature
backend-mysql
only.impl EscapeBuilder for PostgresQueryBuilder
Available on crate feature
backend-postgres
only.impl EscapeBuilder for SqliteQueryBuilder
Available on crate feature
backend-sqlite
only.