redis\ActiveQuery all()

all() public method

Executes the query and returns all results as an array.

public array|yii\redis\ActiveRecord[] all ( $db = null )
$db yii\redis\Connection

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

return array|yii\redis\ActiveRecord[]

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

doc_Yii
2016-10-30 17:10:36
Comments
Leave a Comment

Please login to continue.