BinaryOperator enum

Binary operators supported by drift.

Inheritance
Implemented types
Available extensions

Values

jsonExtractAsJson → const BinaryOperator

A -> operator in SQL.

const BinaryOperator(Precedence.stringConcatenation, '->')
jsonExtractAsValue → const BinaryOperator

A ->> operator in SQL.

const BinaryOperator(Precedence.stringConcatenation, '->>')
stringConcatenation → const BinaryOperator

A || operator in SQL.

const BinaryOperator(Precedence.stringConcatenation, '||')
multiply → const BinaryOperator

A * operator in SQL.

const BinaryOperator(Precedence.mulDivide, '*')
divide → const BinaryOperator

A / operator in SQL.

const BinaryOperator(Precedence.mulDivide, '/')
modulo → const BinaryOperator

A % operator in SQL.

const BinaryOperator(Precedence.mulDivide, '%')
plus → const BinaryOperator

A + operator in SQL.

const BinaryOperator(Precedence.plusMinus, '+')
minus → const BinaryOperator

A - operator in SQL.

const BinaryOperator(Precedence.plusMinus, '-')
bitwiseAnd → const BinaryOperator

A & operator in SQL.

const BinaryOperator(Precedence.bitwise, '&')
bitwiseOr → const BinaryOperator

A | operator in SQL.

const BinaryOperator(Precedence.bitwise, '|')
less → const BinaryOperator

A < operator in SQL.

const BinaryOperator(Precedence.comparison, '<')
lessOrEqual → const BinaryOperator

A <= operator in SQL.

const BinaryOperator(Precedence.comparison, '<=')
greater → const BinaryOperator

A > operator in SQL.

const BinaryOperator(Precedence.comparison, '>')
greaterOrEqual → const BinaryOperator

A >= operator in SQL.

const BinaryOperator(Precedence.comparison, '>=')
equals → const BinaryOperator

A = operator in SQL.

const BinaryOperator(Precedence.comparisonEq, '=')
like → const BinaryOperator

A LIKE operator in SQL.

const BinaryOperator(Precedence.comparison, 'LIKE')
match → const BinaryOperator

A MATCH operator in SQL.

const BinaryOperator(Precedence.comparison, 'MATCH')
regexp → const BinaryOperator

A REGEXP operator in SQL.

const BinaryOperator(Precedence.comparison, 'REGEXP')
$is → const BinaryOperator

An IS operator in SQL.

const BinaryOperator(Precedence.comparisonEq, 'IS')
isNot → const BinaryOperator

An IS NOT expression in SQL.

const BinaryOperator(Precedence.comparisonEq, 'IS NOT')
$in → const BinaryOperator

An IN expression in SQL.

const BinaryOperator(Precedence.comparisonEq, 'IN')
notIn → const BinaryOperator

A NOT IN expression in SQL.

const BinaryOperator(Precedence.comparisonEq, 'NOT IN')
or → const BinaryOperator

An OR expression in SQL.

const BinaryOperator(Precedence.or, 'OR')
and → const BinaryOperator

An AND expression in SQL.

const BinaryOperator(Precedence.and, 'AND')

Properties

defaultLexeme → String
The default text to generate for this operator.
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
precedence → Precedence
The Precedence associated with this binary operator.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

compileWith(StatementCompiler compiler) → void
Compiles this component with the given StatementCompiler by invoking the relevant add method on it.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<BinaryOperator>
A constant List of the values in this enum, in order of their declaration.