ComparableExpr<DT extends Comparable> extension

Defines extension functions to express comparisons in sql

on

Methods

isBetween(Expression<DT> lower, Expression<DT> higher, {bool not = false}) Expression<bool>
Returns an expression evaluating to true if this expression is between lower and higher (both inclusive).
isBetweenValues(DT lower, DT higher, {bool not = false}) Expression<bool>
Returns an expression evaluating to true if this expression is between lower and higher (both inclusive).
isBiggerOrEqual(Expression<DT> other) Expression<bool>
Returns an expression that is true if this expression is bigger than or equal to he other expression.
isBiggerOrEqualValue(DT other) Expression<bool>
Returns an expression that is true if this expression is bigger than or equal to he other value.
isBiggerThan(Expression<DT> other) Expression<bool>
Returns an expression that is true if this expression is strictly bigger than the other expression.
isBiggerThanValue(DT other) Expression<bool>
Returns an expression that is true if this expression is strictly bigger than the other value.
isSmallerOrEqual(Expression<DT> other) Expression<bool>
Returns an expression that is true if this expression is smaller than or equal to he other expression.
isSmallerOrEqualValue(DT other) Expression<bool>
Returns an expression that is true if this expression is smaller than or equal to he other value.
isSmallerThan(Expression<DT> other) Expression<bool>
Returns an expression that is true if this expression is strictly smaller than the other expression.
isSmallerThanValue(DT other) Expression<bool>
Returns an expression that is true if this expression is strictly smaller than the other value.