pub enum WhereCondition {
Comparison(Condition),
Exists(String),
NotExists(String),
BeginsWith(String, PartiqlValue),
Between(String, PartiqlValue, PartiqlValue),
In(String, Vec<PartiqlValue>),
Contains(String, PartiqlValue),
IsMissing(String),
IsNotMissing(String),
}Expand description
A single condition in a WHERE clause — either a comparison or a function call.
Variants§
Comparison(Condition)
Exists(String)
NotExists(String)
BeginsWith(String, PartiqlValue)
Between(String, PartiqlValue, PartiqlValue)
In(String, Vec<PartiqlValue>)
Contains(String, PartiqlValue)
IsMissing(String)
IsNotMissing(String)
Trait Implementations§
Source§impl Clone for WhereCondition
impl Clone for WhereCondition
Source§fn clone(&self) -> WhereCondition
fn clone(&self) -> WhereCondition
Returns a duplicate of the value. Read more
1.0.0 · 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 WhereCondition
impl RefUnwindSafe for WhereCondition
impl Send for WhereCondition
impl Sync for WhereCondition
impl Unpin for WhereCondition
impl UnsafeUnpin for WhereCondition
impl UnwindSafe for WhereCondition
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