TableInfo constructor
const
TableInfo({
- required String name,
- String? namespace,
- required List<
ColumnInfo> columns, - required List<
String> primaryKey, - required List<
List< uniqueKeys,String> > - required List<
ForeignKey> foreignKeys, - required List<
IndexSchema> indexes, - required List<
CatalogObject> unmanaged, - List<
CheckInfo> checks = const [],
Groups catalog facts without querying or changing the database.
Supplied lists are retained; use inspectTable to obtain live metadata.
Implementation
const TableInfo({
required this.name,
this.namespace,
required this.columns,
required this.primaryKey,
required this.uniqueKeys,
required this.foreignKeys,
required this.indexes,
required this.unmanaged,
this.checks = const [],
});