Closed bryanrasmussen closed 11 years ago
Hello Bryan,
You can not run GET on lists, you can use LRANGE or BLPOP to extract the values you're interested in. See this intro on Redis data types: http://redis.io/topics/data-types-intro as well as this page: http://redis.io/topics/data-types And the commands that you can run on lists: http://redis.io/commands#list
Regards,
Nicolas
Thanks, figured it was some simple mistake on my part.
On Thu, Jan 31, 2013 at 2:07 PM, Nicolas Favre-Felix < notifications@github.com> wrote:
Hello Bryan,
You can not run GET on lists, you can use LRANGE or BLPOP to extract the values you're interested in. See this intro on Redis data types: http://redis.io/topics/data-types-intro as well as this page: http://redis.io/topics/data-types And the commands that you can run on lists: http://redis.io/commands#list
Regards,
Nicolas
— Reply to this email directly or view it on GitHubhttps://github.com/nicolasff/webdis/issues/64#issuecomment-12941442.
I do curl http://127.0.0.1:7379/TYPE/resque:queue:classify {"TYPE":[true,"list"]}
And I do
curl http://127.0.0.1:7379/GET/resque:queue:classify {"GET":[false,"ERR Operation against a key holding the wrong kind of value"]}
How should I structure the second operation to the my value out?
Thanks!