schema library

Classes

Column
Describes a column in a database table.
Default
ForeignKey
Represents a foreign key constraint between tables.
Index
Represents an index on one or more columns in a table.
MySQLDialect
---------------- MySQL ----------------
PostgresDialect
---------------- Postgres ----------------
SQLDialect
Base dialect interface
Table
Represents a database table schema, including its columns, indexes, and foreign keys.

Enums

ColumnType
Enum representing supported column types for a table schema.

Extensions

ColumnSQL on Column
---------------- Column helpers ----------------
FirstWhereOrNullExtension on Iterable<T>
TableSQL on Table
---------------- Dispatcher ----------------

Functions

getTableSchema(String tableName) Future<Table?>
Helper function to get table schema
parseInt(dynamic value) int?
parseMySQLType(dynamic rawType) String
runTableRegistry(List<Table> tables, [dynamic _, SendPort? sendPort]) → void
Runs the table registry process inside a Dart isolate.