Skip to main content

condition

Function condition 

Source
pub fn condition(sql: &str) -> Expr
Expand description

Parse a SQL condition string into an Expr.

This is a convenience alias for sql_expr(). The name condition reads more naturally when the fragment is intended as a WHERE or HAVING predicate.

ยงPanics

Panics under the same conditions as sql_expr().