Result
interface Result
Database query result set.
Methods
array|null
fetch()
Fetches the next row from the result set as an associative array.
array|null
fetchList()
Fetches the next row from the result set as an indexed array.
int
getColumnCount()
Returns the number of columns in the result set.
int
getRowCount()
Returns the number of rows in the result set or number of affected rows
array
getColumnsInfo()
Returns metadata for all columns in a result set.
void
free()
Frees the result set.
Details
at line 19
array|null
fetch()
Fetches the next row from the result set as an associative array.
at line 22
array|null
fetchList()
Fetches the next row from the result set as an indexed array.
at line 25
int
getColumnCount()
Returns the number of columns in the result set.
at line 28
int
getRowCount()
Returns the number of rows in the result set or number of affected rows
at line 34
array
getColumnsInfo()
Returns metadata for all columns in a result set.
at line 37
void
free()
Frees the result set.