|
SqlStatementResult::fetchAllGet all rows from result Description
public array mysql_xdevapi\SqlStatementResult::fetchAll()
Fetch all the rows from the result set. Warning
This function is currently not documented; only its argument list is available. ParametersThis function has no parameters. Return ValuesA numerical array with all results from the query; each result is an associative array. An empty array is returned if no rows are present. ExamplesExample #1 mysql_xdevapi\SqlStatementResult::fetchAll example
The above example will output something similar to: Array ( [0] => Array ( [name] => John [age] => 42 ) [1] => Array ( [name] => Sam [age] => 33 ) ) |