pub enum BinaryOperator<'a> {
Show 49 variants
Or(Span),
Xor(Span),
And(Span),
Eq(Span),
NullSafeEq(Span),
GtEq(Span),
Gt(Span),
LtEq(Span),
Lt(Span),
Neq(Span),
ShiftLeft(Span),
ShiftRight(Span),
BitAnd(Span),
BitOr(Span),
BitXor(Span),
Add(Span),
Subtract(Span),
Divide(Span),
Div(Span),
Mod(Span),
Mult(Span),
Like(Span),
NotLike(Span),
Regexp(Span),
NotRegexp(Span),
Rlike(Span),
NotRlike(Span),
Collate(Span),
JsonExtract(Span),
JsonExtractUnquote(Span),
Assignment(Span),
Concat(Span),
Overlap(Span),
Contains(Span),
ContainedBy(Span),
JsonPathMatch(Span),
JsonPathExists(Span),
JsonbKeyExists(Span),
JsonbAnyKeyExists(Span),
JsonbAllKeyExists(Span),
JsonGetPath(Span),
JsonGetPathText(Span),
JsonDeletePath(Span),
RegexMatch(Span),
RegexIMatch(Span),
NotRegexMatch(Span),
NotRegexIMatch(Span),
User(&'a str, Span),
Operator(QualifiedName<'a>, Span),
}Expand description
Binary operator to apply
Variants§
Or(Span)
Xor(Span)
And(Span)
Eq(Span)
NullSafeEq(Span)
GtEq(Span)
Gt(Span)
LtEq(Span)
Lt(Span)
Neq(Span)
ShiftLeft(Span)
ShiftRight(Span)
BitAnd(Span)
BitOr(Span)
BitXor(Span)
Add(Span)
Subtract(Span)
Divide(Span)
Div(Span)
Mod(Span)
Mult(Span)
Like(Span)
NotLike(Span)
Regexp(Span)
NotRegexp(Span)
Rlike(Span)
NotRlike(Span)
Collate(Span)
JsonExtract(Span)
JsonExtractUnquote(Span)
Assignment(Span)
Concat(Span)
String/array concatenation ||
Overlap(Span)
&& (array/range overlap)
Contains(Span)
@>
ContainedBy(Span)
<@
JsonPathMatch(Span)
@@ (full-text / jsonpath match)
JsonPathExists(Span)
@?
JsonbKeyExists(Span)
? (jsonb key exists)
JsonbAnyKeyExists(Span)
?|
JsonbAllKeyExists(Span)
?&
JsonGetPath(Span)
#>
JsonGetPathText(Span)
#>>
JsonDeletePath(Span)
#-
RegexMatch(Span)
~ (regex match)
RegexIMatch(Span)
~* (case-insensitive regex match)
NotRegexMatch(Span)
!~ (regex not match)
NotRegexIMatch(Span)
!~* (case-insensitive regex not match)
User(&'a str, Span)
User-defined / unrecognised PostgreSQL operator
Operator(QualifiedName<'a>, Span)
PostgreSQL OPERATOR(schema.op) expression
Trait Implementations§
Source§impl<'a> Clone for BinaryOperator<'a>
impl<'a> Clone for BinaryOperator<'a>
Source§impl<'a> Debug for BinaryOperator<'a>
impl<'a> Debug for BinaryOperator<'a>
Auto Trait Implementations§
impl<'a> Freeze for BinaryOperator<'a>
impl<'a> RefUnwindSafe for BinaryOperator<'a>
impl<'a> Send for BinaryOperator<'a>
impl<'a> Sync for BinaryOperator<'a>
impl<'a> Unpin for BinaryOperator<'a>
impl<'a> UnsafeUnpin for BinaryOperator<'a>
impl<'a> UnwindSafe for BinaryOperator<'a>
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