ExpressionInterface class abstract interface Query Builder

Represents an expression when building a Query through the QueryBuilder.

Implementers

Constructors

ExpressionInterface()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(ExpressionInterface expression) ExpressionInterface
Returns a new expression wich adds this expression to the given expression.
and(ExpressionInterface expression) ExpressionInterface
Returns a new expression which performs a logical AND of this expression and the given expression.
between(ExpressionInterface expression, {required ExpressionInterface and}) ExpressionInterface
Returns a new expression which evaluates to whether this expression is between the two given expressions inclusively.
collate(CollationInterface collation) ExpressionInterface
Returns a new expression which applies the given collation to this expression.
divide(ExpressionInterface expression) ExpressionInterface
Returns a new expression which divides this expression by the given expression.
equalTo(ExpressionInterface expression) ExpressionInterface
Returns a new expression which evaluates whether this expression is equal to the given expression.
greaterThan(ExpressionInterface expression) ExpressionInterface
Returns a new expression which evaluates whether this expression is greater than the given expression.
greaterThanOrEqualTo(ExpressionInterface expression) ExpressionInterface
Returns a new expression which evaluates whether this expression is less grater than or equal to the given expression.
in_(Iterable<ExpressionInterface> expressions) ExpressionInterface
Returns a new expression which evaluates to whether this expression is in the given expressions.
is_(ExpressionInterface expression) ExpressionInterface
Returns a new expression which evaluates whether this expression IS equal to given expression.
isNot(ExpressionInterface expression) ExpressionInterface
Returns a new expression which evaluates whether this expression IS NOT equal to given expression.
isNullOrMissing() ExpressionInterface
Returns a new expression which evaluates whether this expression is null or missing.
lessThan(ExpressionInterface expression) ExpressionInterface
Returns a new expression which evaluates whether this expression is less than the given expression.
lessThanOrEqualTo(ExpressionInterface expression) ExpressionInterface
Returns a new expression which evaluates whether this expression is less or equal to than the given expression.
like(ExpressionInterface expression) ExpressionInterface
Returns a new expression which evaluates whether this expression is LIKE the the given expression.
modulo(ExpressionInterface expression) ExpressionInterface
Returns a new expression to modulo this expression by the given expression.
multiply(ExpressionInterface expression) ExpressionInterface
Returns a new expression which multiplies this expression with the given expression.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notEqualTo(ExpressionInterface expression) ExpressionInterface
Returns a new expression which evaluates whether this expression is not equal to the given expression.
notNullOrMissing() ExpressionInterface
Returns a new expression which evaluates whether this expression is not null nor missing.
or(ExpressionInterface expression) ExpressionInterface
Returns a new expression which performs a logical OR of this expression and the given expression.
regex(ExpressionInterface expression) ExpressionInterface
Returns a new expression which evaluates whether this expression regex matches the the given expression.
subtract(ExpressionInterface expression) ExpressionInterface
Returns a new expression which subtracts the given expression from this expression.
toString() String
A string representation of this object.
inherited

Operators

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