jeudi 10 décembre 2020

How to use redis commands in laravel tinker?

We are using redis database for our laravel jobs. We need to run several commands on our ubuntu server through laravel tinker. I have read laravel documentation and they mentioned method there but it is not working here is the method

Redis::command('lrange', ['name', 5, 10]);

Here is multiple redis commands

for example https://redis.io/commands/command-count I am trying to use this command With Laravel facade but not working in this way

Redis::command('COMMAND COUNT');



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire