kredis icon indicating copy to clipboard operation
kredis copied to clipboard

Add `Kredis#redis_version`

Open heka1024 opened this issue 4 months ago • 1 comments

There are many commands supported on only high versions of redis. For example LPOS or NX option in EXPIRE. So, if we can get version of current redis, we can implement some commands more effectively. For example, we can effectively add include? method for List(https://github.com/rails/kredis/pull/148) using LPOS. Alse we can make https://github.com/rails/kredis/pull/143 more effectively using NX option on EXPIRE.

heka1024 avatar Mar 08 '24 08:03 heka1024