MultiResultItem class

Represents an item in a multi-result set.

A multi-result query can return multiple result sets followed by row counts. Each item is either a result set (with columns and rows) or a row count (affected rows).

Example:

final items = [
  MultiResultItem(resultSet: ParsedRowBuffer(...)),
  MultiResultItem(rowCount: 42),
];

Constructors

MultiResultItem({required ParsedRowBuffer? resultSet, required int? rowCount})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
resultSet → ParsedRowBuffer?
Result set containing column metadata and row data.
final
rowCount → int?
Number of affected rows (for INSERT/UPDATE/DELETE).
final
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