Skip to main content

parse_expr

Function parse_expr 

Source
pub fn parse_expr(s: &str) -> Option<Expr>
Expand description

Parse a standalone SQL expression (not a WHERE predicate), returning None on failure.

The expression is wrapped in SELECT <expr> so that the full projection grammar is available, including function calls, casts, etc.