schema
library
Classes
-
ArrayColumn
-
Specialized column for storing JSON arrays.
-
BoolColumn
-
Maps a Dart bool to an integer column (1 for true, 0 for false).
Useful for databases like SQLite that lack a native BOOLEAN type.
-
Column<T>
-
Abstract definition of a database schema column.
T is the Dart type associated with the column's value.
-
CreatedAtColumn
-
Represents the 'created_at' timestamp column.
-
DateTimeColumn
-
Persists DateTime objects as ISO-8601 strings to maintain sorting and comparison capabilities.
-
DeletedAtColumn
-
Represents the 'deleted_at' timestamp column for Soft Deletes.
-
DoubleColumn
-
-
EnumColumn<T extends Enum>
-
Maps Dart Enums to database strings using the enum's
name.
-
IdColumn
-
Represents the Primary Key column.
-
IntColumn
-
-
JsonColumn
-
A physical column storing arbitrary JSON data.
Acts as a factory for JsonPathColumn to query internal fields.
-
JsonPathColumn<T>
-
Represents a virtual column extracted from a JSON structure using a specific path.
-
ObjectColumn
-
Specialized column for storing JSON objects (Maps).
-
SchemaColumn
-
Base interface to allow polymorphic lists of Columns with different generic types.
-
TextColumn
-
Maps a Dart String to a database TEXT/VARCHAR column.
-
UpdatedAtColumn
-
Represents the 'updated_at' timestamp column.
-
WhereCondition
-
Represents a single query predicate (e.g., "age > 18").
Used to build the WHERE clause of a database query.