Skip to main content

sql_string_term

Function sql_string_term 

Source
pub fn sql_string_term(s: &str) -> Arc<QTerm> ⓘ
Expand description

SQL 's' — one literal token, quotes included. The empty string needs no separate branch and an escaped quote needs no exemption, because nothing inside the quotes is a node of its own: 'O''Hara' is still a single token.