AsyncMysqlRowBlockIterator
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