QueryRow class
For custom select statements, represents a row in the result set.
Constructors
-
QueryRow(Map<
String, dynamic> data, DatabaseConnectionUser _db) - Construct a row from the raw data and the query engine that maps the raw response to appropriate dart types.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read<
T> (String key) → T - Reads an arbitrary value from the row and maps it to a fitting dart type.
-
readBlob(
String key) → Uint8List -
Reads a Uint8List from the column named
key
. -
readBool(
String key) → bool -
Reads a bool from the column named
key
. -
readDateTime(
String key) → DateTime -
Reads a DateTime from the column named
key
. -
readDouble(
String key) → double -
Reads a double from the column named
key
. -
readInt(
String key) → int -
Reads a int from the column named
key
. -
readNullable<
T extends Object> (String key) → T? - Reads a nullable value from this row.
-
readNullableWithType<
T extends Object> (BaseSqlType< T> type, String key) → T? -
Interprets the column named
key
under the known drift typetype
. -
readString(
String key) → String -
Reads a string from the column named
key
. -
readWithType<
T extends Object> (BaseSqlType< T> type, String key) → T -
Interprets the column named
key
under the known drift typetype
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited