public queryAll ( integer $fetchMode = null ) : array | ||
$fetchMode | integer | the result fetch mode. Please refer to [PHP manual](http://www.php.net/manual/en/function.PDOStatement-setFetchMode.php) for valid fetch modes. If this parameter is null, the value set in [[fetchMode]] will be used. |
Результат | array | all rows of the query result. Each array element is an array representing a row of data. An empty array is returned if the query results in nothing. |