CondCol<ValType> class

A relational conditional expression

Inheritance

Constructors

CondCol(Field<ValType> lhs, Op op, Field<ValType>? rhs)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
length int
Always returns 1 because relational condition is not a composite expressions
no setteroverride
lhs Field<ValType>
The field/column of the condition
final
op Op
The operator of the relational expression
final
rhs Field<ValType>?
The value of the relational expression the field is being compared against
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

and(Expression exp) And
Creates a 'logical and' expression of this expression and the other
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
or(Expression exp) Or
Creates a 'logical or' expression of this expression and the other
override
toString() String
A string representation of this object.
inherited

Operators

operator &(Expression other) And
Creates a 'logical and' expression of this expression and the other
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator |(Expression other) Or
Creates a 'logical or' expression of this expression and the other
inherited

Static Methods

between<ValType>(Field<ValType> field, Field<ValType> low, Field<ValType> high) InBetweenCol<ValType>
DSL to create 'in-between' relational condition
eq<ValType>(Field<ValType> field, Field<ValType> value) CondCol<ValType>
DSL to create 'is equal to' relational condition
gt<ValType>(Field<ValType> field, Field<ValType> value) CondCol<ValType>
DSL to create 'is greater than' relational condition
gtEq<ValType>(Field<ValType> field, Field<ValType> value) CondCol<ValType>
DSL to create 'is greater than or equal to' relational condition
isNotNull<ValType>(Field<ValType> field) CondCol<ValType>
DSL to create 'IS NOT NULL' relational condition
isNull<ValType>(Field<ValType> field) CondCol<ValType>
DSL to create 'IS NULL' relational condition
like(Field<String> field, Field<String> value) CondCol<String>
DSL to create 'is like' relational condition
lt<ValType>(Field<ValType> field, Field<ValType> value) CondCol<ValType>
DSL to create 'is less than' relational condition
ltEq<ValType>(Field<ValType> field, Field<ValType> value) CondCol<ValType>
DSL to create 'is less than or equal to' relational condition
ne<ValType>(Field<ValType> field, Field<ValType> value) CondCol<ValType>
DSL to create 'is not equal to' relational condition