pub struct Expr { /* private fields */ }Expand description
A WHERE-clause expression tree; render with Expr::to_sql_fragment_for.
Implementations§
Source§impl Expr
impl Expr
pub fn raw(sql: impl Into<String>, params: Vec<Value>) -> Self
pub fn json_extract<T>(col: &Column<T>, path: &str) -> JsonExpr
pub fn and(self, other: Expr) -> Expr
pub fn or(self, other: Expr) -> Expr
Auto Trait Implementations§
impl Freeze for Expr
impl RefUnwindSafe for Expr
impl Send for Expr
impl Sync for Expr
impl Unpin for Expr
impl UnsafeUnpin for Expr
impl UnwindSafe for Expr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more