Enum sqlite_loadable::table::ConstraintOperator
source · pub enum ConstraintOperator {
Show 17 variants
EQ,
GT,
LE,
LT,
GE,
MATCH,
LIKE,
GLOB,
REGEXP,
NE,
ISNOT,
ISNOTNULL,
ISNULL,
IS,
LIMIT,
OFFSET,
FUNCTION(u8),
}Expand description
Possible operators for a given constraint, found and used in xBestIndex and xFilter. https://www.sqlite.org/c3ref/c_index_constraint_eq.html TODO EQ=Equals, GT=GreaterThan, etc.
Variants§
EQ
‘Equals’, ex “=”
GT
‘Greater Than’, ex “>”
LE
‘Less than or equal to’, ex “<=”
LT
‘Less than’, ex “<”
GE
‘Greater than or equal to’, ex “>=”
MATCH
‘Match’ function
LIKE
‘LIKE’ function
GLOB
‘Glob’ function
REGEXP
‘REGEXP’ function
NE
‘Not equal to’, ex “!=” or “<>”
ISNOT
‘is not’ operation
ISNOTNULL
‘is not null’ operation
ISNULL
‘is null’ operation
IS
‘is’ operation
LIMIT
‘LIMIT’ constraint
OFFSET
‘OFFSET’ operation
FUNCTION(u8)
custom funciton overload, used in xFindFunction, see https://www.sqlite.org/vtab.html#xfindfunction
Trait Implementations§
source§impl Debug for ConstraintOperator
impl Debug for ConstraintOperator
source§impl<'de> Deserialize<'de> for ConstraintOperator
impl<'de> Deserialize<'de> for ConstraintOperator
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ConstraintOperator
impl PartialEq for ConstraintOperator
source§fn eq(&self, other: &ConstraintOperator) -> bool
fn eq(&self, other: &ConstraintOperator) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ConstraintOperator
impl Serialize for ConstraintOperator
impl Eq for ConstraintOperator
impl StructuralEq for ConstraintOperator
impl StructuralPartialEq for ConstraintOperator
Auto Trait Implementations§
impl RefUnwindSafe for ConstraintOperator
impl Send for ConstraintOperator
impl Sync for ConstraintOperator
impl Unpin for ConstraintOperator
impl UnwindSafe for ConstraintOperator
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