Skip to main content

esc

Function esc 

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

Escape single quotes for SQL string literals. Only safe for trusted compile-time constants (entity names, descriptions, link JSON from Ontology annotations) — never use with user-supplied input.