pub enum ConstraintOp {
Show 14 variants
Eq,
Gt,
Le,
Lt,
Ge,
Match,
Like,
Glob,
Regexp,
Ne,
IsNot,
IsNotNull,
IsNull,
Is,
}Expand description
The comparison a constraint applies.
Match, Like, Glob and Regexp are here because an operator a module
understands is the reason virtual tables exist: t MATCH 'x' means nothing
to the engine and everything to FTS5.
Variants§
Eq
=
Gt
>
Le
<=
Lt
<
Ge
>=
Match
MATCH
Like
LIKE
Glob
GLOB
Regexp
REGEXP
Ne
!=
IsNot
IS NOT
IsNotNull
IS NOT NULL
IsNull
IS NULL
Is
IS
Implementations§
Source§impl ConstraintOp
impl ConstraintOp
Trait Implementations§
Source§impl Clone for ConstraintOp
impl Clone for ConstraintOp
impl Copy for ConstraintOp
Source§impl Debug for ConstraintOp
impl Debug for ConstraintOp
impl Eq for ConstraintOp
Source§impl PartialEq for ConstraintOp
impl PartialEq for ConstraintOp
impl StructuralPartialEq for ConstraintOp
Auto Trait Implementations§
impl Freeze for ConstraintOp
impl RefUnwindSafe for ConstraintOp
impl Send for ConstraintOp
impl Sync for ConstraintOp
impl Unpin for ConstraintOp
impl UnsafeUnpin for ConstraintOp
impl UnwindSafe for ConstraintOp
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