Skip to main content

quote_literal

Function quote_literal 

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

One Postgres string literal, quoted so that nothing inside it can be syntax.

quote_ident’s sibling, and it exists for exactly one caller — NeonConfig::sequence_literal, where a quoted identifier has to travel inside a literal.