Skip to main content

quote_literal

Function quote_literal 

Source
pub fn quote_literal(s: &str) -> String
Expand description

Quote an SQL string literal (single quotes doubled). Used only for replication commands, which do not support parameters.