FbRowFormat enum
The format in which a query is supposed to return subsequent data rows.
This enum is used internally in the communication between the FbQuery objects and their worker thread parties. The calling code should use a specialized method of FbQuery:
- FbQuery.rows to obtain row data as maps,
- FbQuery.rowValues to obtain row data as lists,
- FbQuery.fetchOneAsMap, FbQuery.fetchAsMaps, FbQuery.fetchAllAsMaps to obtain rows as maps,
- FbQuery.fetchOneAsList, FbQuery.fetchAsLists, FbQuery.fetchAllAsLists to obtain rows as lists.
Values
- asMap → const FbRowFormat
-
Rows are maps with keys being column names.
The names are provided exactly as obtained from the database, no case or any other conversion is performed.
- asList → const FbRowFormat
-
Rows are list of field values only.
Field names are not included in the row data in any way. Use FbQuery.fieldNames or FbQuery.fieldDefs to get a list of field names / definitions.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
FbRowFormat> - A constant List of the values in this enum, in order of their declaration.