pub struct CoalesceExpr { /* private fields */ }Expand description
Left-hand operand of a coalesce-based filter — chain a comparator
method to turn it into a FilterExpr.
Implementations§
Source§impl CoalesceExpr
impl CoalesceExpr
pub fn eq<V: IntoSqlValue>(self, value: V) -> FilterExpr
pub fn ne<V: IntoSqlValue>(self, value: V) -> FilterExpr
pub fn lt<V: IntoSqlValue>(self, value: V) -> FilterExpr
pub fn lte<V: IntoSqlValue>(self, value: V) -> FilterExpr
pub fn gt<V: IntoSqlValue>(self, value: V) -> FilterExpr
pub fn gte<V: IntoSqlValue>(self, value: V) -> FilterExpr
Sourcepub fn is_null(self) -> FilterExpr
pub fn is_null(self) -> FilterExpr
COALESCE(...) IS NULL — every input column was null. No
bind: this side never carries a value.
Sourcepub fn is_not_null(self) -> FilterExpr
pub fn is_not_null(self) -> FilterExpr
COALESCE(...) IS NOT NULL — at least one input column has a
value.
Trait Implementations§
Source§impl Clone for CoalesceExpr
impl Clone for CoalesceExpr
Source§fn clone(&self) -> CoalesceExpr
fn clone(&self) -> CoalesceExpr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CoalesceExpr
impl RefUnwindSafe for CoalesceExpr
impl Send for CoalesceExpr
impl Sync for CoalesceExpr
impl Unpin for CoalesceExpr
impl UnsafeUnpin for CoalesceExpr
impl UnwindSafe for CoalesceExpr
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