Skip to main content

AsyncMysqlRowBlock

Note

This is a point-in-time snapshot of the API documentation from January 2026. Going forward, we will not be maintaining a public copy of these references, and recommend users to refer to the built-in signature helpers available in the Hack LSP instead for complete and up-to-date information.

Represents a row block

A row block is either a full or partial set of result rows from a MySQL query.

In a query result, the sum total of all the row blocks is the full result of the query. Most of the time there is only one row block per query result since the query was never interrupted or otherwise deterred by some outside condition like exceeding network packet parameters.

You can get an instance of AsyncMysqlRowBlock via the AsyncMysqlQueryResult::rowBlocks() call.

Guides

Interface Synopsis

final class AsyncMysqlRowBlock implements IteratorAggregate, Countable, KeyedTraversable<int, AsyncMysqlRow> {...}

Public Methods