ColumnFilters<T extends Object> class
Built in filters for all columns
- Available extensions
Constructors
-
ColumnFilters(Expression<
T> column, {bool inverted = false}) - This class is a wrapper on top of the generated column class
Properties
-
column
→ Expression<
T> -
Column that this ColumnFilters wraps
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- inverted → bool
-
If true, all filters will be inverted
finalinherited
-
not
→ ColumnFilters<
T> -
Returns a copy of these column filters where all the filters are inverted
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
$composableFilter(
Expression< bool> expression) → Expression<bool> -
This helper method is used internally to create a new Expression<bool>s
that respects the inverted state of the current filter
inherited
-
call(
T? value) → Expression< bool> - Shortcut for equals
-
contains(
T value, {bool caseInsensitive = true}) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the this text column contains a substringString> , provided by the StringFilters extension -
endsWith(
T value, {bool caseInsensitive = true}) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the this text column ends with a substringString> , provided by the StringFilters extension -
equals(
T? value) → Expression< bool> - Create a filter that checks if the column equals a value.
-
isAfter(
T value) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the column is after a DateTimeT> , provided by the DateFilters extension -
isAfterOrOn(
T value) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the column is on or after a DateTimeT> , provided by the DateFilters extension -
isBefore(
T value) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the column is before a DateTimeT> , provided by the DateFilters extension -
isBeforeOrOn(
T value) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the column is before or on a DateTimeT> , provided by the DateFilters extension -
isBetween(
T lower, T higher) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the column is between two values This is done inclusively, so the column can be equal to the lower or higher value E.G isBetween(1, 3) will return true for 1, 2, and 3T> , provided by the BigIntFilters extension -
isBetween(
T lower, T higher) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the column is between 2 DateTimes This is done inclusively, so the column can be equal to the lower or higher value E.G isBetween(1, 3) will return true for 1, 2, and 3T> , provided by the DateFilters extension -
isBetween(
T lower, T higher) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the column is between two values This is done inclusively, so the column can be equal to the lower or higher value E.G isBetween(1, 3) will return true for 1, 2, and 3T> , provided by the NumFilters extension -
isBiggerOrEqualTo(
T value) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the column is bigger or equal to a valueT> , provided by the BigIntFilters extension -
isBiggerOrEqualTo(
T value) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the column is bigger or equal to a valueT> , provided by the NumFilters extension -
isBiggerThan(
T value) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the column is bigger than a valueT> , provided by the BigIntFilters extension -
isBiggerThan(
T value) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the column is bigger than a valueT> , provided by the NumFilters extension -
isFalse(
) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the column is small than a valuebool> , provided by the BoolFilters extension -
isIn(
Iterable< T> values) → Expression<bool> - Create a filter that checks if the column is in a list of values.
-
isNull(
) → Expression< bool> -
Create a filter that checks if the column is null.
inherited
-
isSmallerOrEqualTo(
T value) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the column is small or equal to a valueT> , provided by the BigIntFilters extension -
isSmallerOrEqualTo(
T value) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the column is small or equal to a valueT> , provided by the NumFilters extension -
isSmallerThan(
T value) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the column is small than a valueT> , provided by the BigIntFilters extension -
isSmallerThan(
T value) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the column is small than a valueT> , provided by the NumFilters extension -
isTrue(
) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the column is bigger than a valuebool> , provided by the BoolFilters extension -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sqlEquals(
T value) → Expression< bool> -
Creates a filter that checks whether the column is equal to the
value
.inherited -
startsWith(
T value, {bool caseInsensitive = true}) → Expression< bool> -
Available on ColumnFilters<
Create a filter to check if the this text column starts with a substringString> , provided by the StringFilters extension -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited