Closed jcraigk closed 1 year ago
Similar to the https://github.com/redis/redis-rb gem, it would be very helpful to add common (or all) Redis keyword calls, so instead of redis.call('SET', 'foo', 'bar'), we could call redis.set('foo', 'bar').
redis.call('SET', 'foo', 'bar')
redis.set('foo', 'bar')
The whole point of this library is not to do that.
Eventually you can do this: https://github.com/mperham/sidekiq/blob/0e91f175fe8ada215bcf64bb086ca7585fe60e3f/lib/sidekiq/redis_client_adapter.rb#L22-L34
Similar to the https://github.com/redis/redis-rb gem, it would be very helpful to add common (or all) Redis keyword calls, so instead of
redis.call('SET', 'foo', 'bar')
, we could callredis.set('foo', 'bar')
.