executeCommand() public method
Executes a redis command.
For a list of available commands and their parameters see http://redis.io/commands.
public array|boolean|null|string executeCommand ( $name, $params = [] ) | ||
---|---|---|
$name | string |
The name of the command |
$params | array |
List of parameters for the command |
return | array|boolean|null|string |
Dependent on the executed command this method will return different data types:
See redis protocol description for details on the mentioned reply types. |
throws | yii\db\Exception |
for commands that return error reply. |
Please login to continue.