``` var redis = require('redis') , client = redis.createClient(); client.hset('hash', 'key', 'val'); client.hmget('hash', ['key'], redis.print); client.hmget('hash', 'key', 'key', redis.print); client.hmget('hash', ['key', 'key'], redis.print); client.quit(); /* output: Reply: val Reply: val,val Reply: */ ```
Activity
zxcabs commentedon Mar 15, 2011
Hi!
You can do it like that:
client.hmget(['hash','key', 'key'], redis.print);
Reply: val,val
Lots of bugs fixed.
mranney commentedon Apr 22, 2011
Thanks, this was a tricky one that I had always assumed was working. I've fixed and updated the tests to include this pattern.
Fixed in v0.6.0