DriftDatabaseOptions class Null safety
Database-specific options used by drift.
Instances of this class are primarily meant to be generated by drift_dev
,
which will override the database options based on compile-time options.
Constructors
- DriftDatabaseOptions({bool storeDateTimeAsText = false})
-
Creates database-specific database options.
const
Properties
Methods
-
createTypeMapping(
SqlDialect dialect) → SqlTypes -
Creates a type mapping suitable for these options and the given
dialect
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited