all() public method
Executes the query and returns all results as an array.
public array all ( $db = null ) | ||
---|---|---|
$db | yii\db\Connection |
The database connection used to generate the SQL statement. If this parameter is not given, the |
return | array |
The query results. If the query results in nothing, an empty array will be returned. |
Please login to continue.