UnaryOperator enum
Unary SQL operators supported by drift.
- Inheritance
- Implemented types
- Available extensions
Values
- not → const UnaryOperator
-
A
NOToperation in SQL.const UnaryOperator(Precedence.not, true, 'NOT', needsSpace: true) - bitwiseNot → const UnaryOperator
-
A bitwise not operation in SQL.
const UnaryOperator(Precedence.unary, true, '~') - minus → const UnaryOperator
-
A unary minus in SQL.
const UnaryOperator(Precedence.unary, true, '-')
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
- isPrefix → bool
-
Whether this operator appears before (true) or after (false) the
expression it is applied to in SQL.
final
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - needsSpace → bool
-
Whether this operator needs a space character between itself and the
operand.
final
- 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
addmethod 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<
UnaryOperator> - A constant List of the values in this enum, in order of their declaration.