ColumnStructured<T> class
A Column holding a SerializableModel. The entity will be stored in the database as a binary-encoded object that retains the JSON structure. Stored as JSONB on Postgres (with indexing support) and BLOB on SQLite.
- Inheritance
- Available extensions
Constructors
Properties
- columnName → String
-
Name of the Column.
no setterinherited
- fieldName → String
-
Name of the field in the model
no setterinherited
- fieldQueryAlias → String
-
Field name alias for the Column to be used in queries.
no setterinherited
- hasDefault → bool
-
flag to tell if this Column has any
defaultvaluefinalinherited - 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
-
asc(
) → Order -
Available on Column<
Creates an Order with the column ordered ascending.T> , provided by the ColumnOrderingOperations extension -
desc(
) → Order -
Available on Column<
Creates an Order with the column ordered descending.T> , provided by the ColumnOrderingOperations extension -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited