Skip to main content

quote_string

Function quote_string 

Source
pub fn quote_string(value: &str) -> String
Expand description

Wraps value in single quotes for safe use as a SQL string literal.

Escapes internal single quotes by doubling them.