AsyncMysqlRow
A class to represent a row
You can think of a row just like you do a database row that might be returned as a result from a query. The row has values associated with each column.
Guides
Interface Synopsis
final class AsyncMysqlRow implements MysqlRow {...}
Public Methods
->at(mixed $field): mixed
Get field (column) value indexed by thefield
->count(): int
Get the number of fields (columns) in the current row->fieldType(mixed $field): int
Returns the type of the field (column)->getFieldAsDouble(mixed $field): float
Get a certain field (column) value as adouble
->getFieldAsInt(mixed $field): int
Get a certain field (column) value as anint
->getFieldAsString(mixed $field): string
Get a certain field (column) value as astring
->getIterator(): KeyedIterator<string, mixed>
Get the iterator over the fields in the current row->isNull(mixed $field): bool
Returns whether a field (column) value isnull