Table<R, F extends Fields> class
final
A table's physical schema, typed fields and full-row decoder.
Use generated definitions for normal application code, or construct one for a manual schema. A definition can be bound to different database sessions.
Constructors
-
Table(TableSchema schema, F createFields(TableRef), Selection<
R> selectRow(F)) -
Defines a table without opening a database connection.
const
Properties
- createFields → F Function(TableRef)
-
Creates typed fields for a fresh table occurrence.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schema → TableSchema
-
The physical schema used for validation and SQL generation.
final
-
selectRow
→ Selection<
R> Function(F) -
Builds the full-row selection from that occurrence's fields.
final
Methods
-
alias(
) → TableAlias< R, F> - Creates an independent alias for a join or self-join.
-
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