DriftDatabaseOptions class

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

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
types SqlTypes
Configuration for SqlTypes describing how to map Dart values from and to SQL values.
final

Methods

createTypeMapping(SqlDialect dialect) SqlTypes
Creates a type mapping suitable for these options and the given dialect.
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