jhthorsen / mojo-redis

Non-blocking Redis driver using Mojo::IOLoop
https://metacpan.org/pod/Mojo::Redis
14 stars 11 forks source link

More some Redis command examples #62

Closed yuki-kimoto closed 3 years ago

yuki-kimoto commented 3 years ago

Can I add a little more some Redis command examples in Blocking section?

set
expire
jhthorsen commented 3 years ago

I added two new examples. The generic rule is that you take the arguments documented on https://redis.io/commands and pass them in as a list. When that is said, you can also check the documentation for Mojo::Redis::Database:

https://metacpan.org/pod/Mojo::Redis::Database#set