ColumnComparable<T> class
abstract
A Column whose values can be compared equal or unequal to other values. Attends full specification of default PG comparison operations: https://www.postgresql.org/docs/current/functions-comparison.html#FUNCTIONS-COMPARISON-OP-TABLE
- Inheritance
- Implementers
Constructors
- ColumnComparable.new(String columnName, Table table, {bool hasDefault = false})
- Creates a new Column, this is typically done in generated code only.
Properties
- columnName → String
-
Name of the Column.
no setterinherited
- hasDefault → bool
-
flag to tell if this Column has any
default
valuefinalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- queryAlias → String
-
Query alias for the Column.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- table → Table
-
Table that column belongs to.
finalinherited
- type → Type
-
Corresponding dart Type.
finalinherited
Methods
-
equals(
T? value) → Expression -
Creates an Expression checking if the value in the column equals the
specified value.
inherited
-
inSet(
Set< T> values) → Expression -
Creates and Expression checking if the value in the column is included
in the specified set of values.
If the set is empty, the expression will always be false and match no
rows.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notEquals(
T? value) → Expression -
Creates an Expression checking if the value in the column does not equal
the specified value.
inherited
-
notInSet(
Set< T> values) → Expression -
Creates and Expression checking if the value in the column is NOT
included in the specified set of values.
If the set is empty, the expression will always be true and match all
rows.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator <(
dynamic other) → Expression -
Database less than operator.
Throws ArgumentError if
other
is not an Expression,T
or Column.inherited -
operator <=(
dynamic other) → Expression -
Database less or equal than operator.
Throws ArgumentError if
other
is not an Expression,T
or Column.inherited -
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator >(
dynamic other) → Expression -
Database greater than operator.
Throws ArgumentError if
other
is not an Expression,T
or Column.inherited -
operator >=(
dynamic other) → Expression -
Database greater or equal than operator.
Throws ArgumentError if
other
is not an Expression,T
or Column.inherited