Class RecordSet
- ManiaLive\Database\RecordSet
- ManiaLive\Database\MySQL\RecordSet
public
|
|
public
array
|
|
public
array
|
#
fetchAssoc( )
Fetch a result row as an associative array Returns an associative array of strings that corresponds to the fetched row |
public
array
|
#
fetchArray( mixed $resultType =
Fetch a result row as an associative array, a numeric array, or both Returns an array that corresponds to the fetched row and moves the internal data pointer ahead. |
public
object
|
#
fetchObject( mixed $className = '\\stdClass', array $params = array() )
Fetch a result row as an Object Returns an object with properties that correspond to the fetched row and moves the internal data pointer ahead. |
public
integer
|
#
recordCount( )
Give the number of rows in the ResultSet This command is only valid for statements like SELECT or SHOW |
public
|
fetchArrayOfAssoc(),
fetchArrayOfObject(),
fetchArrayOfRow(),
fetchArrayOfSingleValues(),
fetchSingleValue()
|
integer |
FETCH_ASSOC
|
MYSQL_ASSOC |
|
integer |
FETCH_NUM
|
MYSQL_NUM |
|
integer |
FETCH_BOTH
|
MYSQL_BOTH |
protected
mixed
|
$result |
|