QueryRow class Null safety

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

data Map<String, dynamic>
The raw data in this row. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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. The dart type T must be supported by the type system of the database used (mostly contains booleans, strings, numbers and dates).
readBlob(String key) Uint8List
Reads a Uint8List from the column named key.
@Deprecated('Use read<Uint8List>(key) directly')
readBool(String key) bool
Reads a bool from the column named key.
@Deprecated('Use read<bool>(key) directly')
readDateTime(String key) DateTime
Reads a DateTime from the column named key.
@Deprecated('Use read<DateTime>(key) directly')
readDouble(String key) double
Reads a double from the column named key.
@Deprecated('Use read<double>(key) directly')
readInt(String key) int
Reads a int from the column named key.
@Deprecated('Use read<int>(key) directly')
readString(String key) String
Reads a string from the column named key.
@Deprecated('Use read<String>(key) directly')
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited