TypeExtension<T extends Object> extension
Adds type implementation methods to SqlType by looking up the type in a DriftDialect implementation.
- on
-
- SqlType<
T>
- SqlType<
Methods
-
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. -
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.