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