A manually declared SQL table with one default row projection.
Models remain plain Dart values. Subclasses declare columns with column and decode rows through projection; no reflection or generated code is involved.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Physical table name, without a schema prefix.
final
-
projection
→ SqlProjection<
Row> -
Default ordered columns and decoder for one table row.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schema → String?
-
Optional physical schema name.
final
Methods
-
column<
T> (String name, SqlCodec< T> codec) → SqlTableColumn<T> - Declares one physical table column.
-
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