pub fn quote_mysql_ident(identifier: &str) -> StringExpand description
Quote a MySQL identifier (database, table, column)
MySQL uses backticks for identifier quoting. Escapes embedded backticks by doubling them.
ยงExamples
use database_replicator::utils::quote_mysql_ident;
assert_eq!(quote_mysql_ident("users"), "`users`");
assert_eq!(quote_mysql_ident("user`name"), "`user``name`");