AsyncMysqlRowBlockIterator
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.
A class to represent an iterator over the rows of a AsyncMysqlRowBlock
You can iterate over all the rows of an AsyncMysqlRowBlock one by one until
the iterator is not valid any longer.
Guides
Interface Synopsis
final class AsyncMysqlRowBlockIterator implements HH\KeyedIterator {...}
Public Methods
-
->current(): AsyncMysqlRow
Get the current row -
->key(): int
Get the current row number -
->next(): void
Advance the iterator to the next row -
->rewind(): void
Reset the iterator to the first row -
->valid(): bool
Check if iterator is at a validAsyncMysqlRow