db\QueryInterface all()

all() public abstract method

Executes the query and returns all results as an array.

public abstract array all ( $db = null )
$db yii\db\Connection

The database connection used to execute the query. If this parameter is not given, the db application component will be used.

return array

The query results. If the query results in nothing, an empty array will be returned.

doc_Yii
2016-10-30 16:59:24
Comments
Leave a Comment

Please login to continue.