PdoResult
class PdoResult implements ResultDriver
The driver for PDO result set.
Methods
Returns the number of rows in a result set.
Fetches the row at current position and moves the internal cursor to the next position.
Moves cursor position without fetching row.
Frees the resources allocated for this result set.
Returns metadata for all columns in a result set.
Returns the result set resource.
Decodes data from result set.
Details
at line 31
__construct(PDOStatement $resultSet, string $driverName)
No description
at line 41
int
getRowCount()
Returns the number of rows in a result set.
at line 51
array|null
fetch(bool $assoc)
Fetches the row at current position and moves the internal cursor to the next position.
at line 60
bool
seek(int $row)
Moves cursor position without fetching row.
at line 69
void
free()
Frees the resources allocated for this result set.
at line 79
array
getResultColumns()
Returns metadata for all columns in a result set.
at line 111
mixed
getResultResource()
Returns the result set resource.
at line 120
string
unescapeBinary(string $value)
Decodes data from result set.
Traits
Better OOP experience.