A table definition: a name, its columns, and any indexes.
Constructors
-
Table(String name, List<Column> columns, {List<Index> indexes = const []})
-
Creates a table named
name with the given columns and indexes.
const
Properties
-
columns
→ List<Column>
-
Columns of the table, in declaration order.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
indexes
→ List<Index>
-
Indexes created alongside the table.
final
-
name
→ String
-
Table name as written in SQL.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited