CommonDoubleType class final
Common implementation for a REAL / double type.
- Inheritance
-
- Object
- PhysicalSqlType<
double> - CommonDoubleType
Constructors
- CommonDoubleType({String typeName = 'REAL'})
-
Creates a double type from its SQL name.
const
Properties
Methods
-
dartValue(
Object databaseValue) → double -
Maps a raw value returned in a raw result set into the
Tfor SqlType.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
nullableDartValue(
Object? databaseValue) → double? -
Like dartValue, except that it supports null values which are forwarded
unchanged.
inherited
-
resolveIn(
DriftDialect dialect) → PhysicalSqlType< double> -
Resolves an implementation of the type in the given dialect.
inherited
-
sqlLiteral(
double value) → String -
Maps
valueto its (escaped) SQL literal.override -
sqlParameter(
double? value) → Object? -
Maps a Dart
valueto bind to a parameter in a generated statement to a value understood by database drivers.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited