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