It seem that HINCRBY is not reconized using this crate !
Here is what I did, first create a pool:
//Redis Pool
let rmanager = RedisConnectionManager::new("redis://127.0.0.1:6379").unwrap();
let pool = r2d2::Pool::builder()
.build(rmanager)
.unwrap();
Then use it inside a function like this:
let mut connection = pool.get().unwrap();
And finally, I wanted to use the command HINCRBY like this:
Hi,
It seem that
HINCRBY
is not reconized using this crate !Here is what I did, first create a pool:
Then use it inside a function like this:
And finally, I wanted to use the command HINCRBY like this:
But infortunatelly getting this error message:
When using
INCR
command, it is working well, but I need to useHINCRB
Y for hash.Can you tell me where is the problem with it please ?