A dialect-specific implementation of a SqlType.
- Implemented types
-
- SqlType<
T>
- SqlType<
- Available extensions
Properties
Methods
-
dartValue(
Object databaseValue) → T -
Maps a raw value returned in a raw result set into the
Tfor SqlType. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
nullableDartValue(
Object? databaseValue) → T? - Like dartValue, except that it supports null values which are forwarded unchanged.
-
resolveIn(
DriftDialect dialect) → PhysicalSqlType< T> -
Resolves an implementation of the type in the given dialect.
override
-
sqlLiteral(
T value) → String -
Maps
valueto its (escaped) SQL literal. -
sqlParameter(
T? value) → Object? -
Maps a Dart
valueto bind to a parameter in a generated statement to a value understood by database drivers. -
sqlParameter(
DriftDialect dialect, T? value) → Object? -
Available on SqlType<
Maps a DartT> , provided by the TypeExtension extensionvalueto bind to a parameter in a generated statement to a value understood by database drivers. -
toString(
) → String -
A string representation of this object.
inherited
-
typeName(
DriftDialect dialect) → String -
Available on SqlType<
The name of the type in SQL, e.g. in a column definition or aT> , provided by the TypeExtension extensionCAST.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited