SQLTableDefinition class
Definition of a table in an SQL database
- Annotations
Constructors
-
SQLTableDefinition({required String name, required List<
String> primaryKey, required List<SQLColumnDefinition> columns, required List<SQLTableExtension> extensions}) -
const
Properties
-
columns
→ List<
SQLColumnDefinition> -
The columns making up this table
final
-
extensions
→ List<
SQLTableExtension> -
List of optional extensions to the table
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The table name
final
-
primaryKey
→ List<
String> -
The primary key of this table if set.
Expressed as list of column names
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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