ComparisonOperator enum
A comparison operator is an enumeration of several operations:
EQ
for equal.NE
for not equal.IN
checks for exact matches.LE
for less than or equal to.LT
for less than.GE
for greater than or equal to.GT
for greater than.BETWEEN
for between.NOT_NULL
for exists.NULL
for not exists.CONTAINS
for substring or value in a set.NOT_CONTAINS
for absence of a substring or absence of a value in a set.BEGINS_WITH
for a substring prefix.
Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH.
- Inheritance
- Available extensions
Values
- eq → const ComparisonOperator
- ne → const ComparisonOperator
- $in → const ComparisonOperator
- le → const ComparisonOperator
- lt → const ComparisonOperator
- ge → const ComparisonOperator
- gt → const ComparisonOperator
- between → const ComparisonOperator
- notNull → const ComparisonOperator
- $null → const ComparisonOperator
- contains → const ComparisonOperator
- notContains → const ComparisonOperator
- beginsWith → const ComparisonOperator
Properties
Methods
-
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<
ComparisonOperator> - A constant List of the values in this enum, in order of their declaration.