May 20, 2016
0
Level 6
How to get redis key values with colon
I'm using redis as my queue for local testing for now.
When I dispatch jobs I get this entry in the queue:
6) "queues:proxy"
8) "queues:default"
However, I can't seem to get the value out of that key:
192.168.0.15:6379> get "queues:proxy"
(error) ERR Operation against a key holding the wrong kind of value
192.168.0.15:6379> get queues:proxy
(error) ERR Operation against a key holding the wrong kind of value
192.168.0.15:6379> hget queues:proxy
(error) ERR wrong number of arguments for 'hget' command
192.168.0.15:6379> hget "queues:proxy"
(error) ERR wrong number of arguments for 'hget' command
192.168.0.15:6379>
Anyone know how? thanks
Please or to participate in this conversation.