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.
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
. -
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
. -
readString(
String key) → String -
Reads a string from the column named
key
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited