Table class

Represents a database table.

Implementers

Constructors

Table({required String tableName, TableRelation? tableRelation})
Creates a new Table. Typically, this is done only by generated code.

Properties

columns List<Column>
List of Column used by the table.
no setter
hashCode int
The hash code for this object.
no setterinherited
id ColumnInt
The database id.
latefinal
queryPrefix String
Query prefix for Columns of the table.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tableName String
Name of the table as used in the database.
final
tableRelation → TableRelation?
Table relation for Columns of the table.
final

Methods

getRelationTable(String relationField) Table?
Returns TableColumnRelation for the given relationField. If no relation exists, returns null.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited