CommonTextType class final
Common implementation for a TEXT / String type.
- Inheritance
-
- Object
- PhysicalSqlType<
String> - CommonTextType
Constructors
- CommonTextType({String typeName = 'TEXT'})
-
Creates a text type from its SQL name.
const
Properties
Methods
-
dartValue(
Object databaseValue) → String -
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) → String? -
Like dartValue, except that it supports null values which are forwarded
unchanged.
inherited
-
resolveIn(
DriftDialect dialect) → PhysicalSqlType< String> -
Resolves an implementation of the type in the given dialect.
inherited
-
sqlLiteral(
String value) → String -
Maps
valueto its (escaped) SQL literal.override -
sqlParameter(
String? 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