Node-redis: Is there a way to increment hashes?

Created on 27 Apr 2016  ·  4Comments  ·  Source: NodeRedis/node-redis

Why is there no way to increment hashes please?
Seems like this is one of the most basics features of Redis and its missing. Unless it is there but I am unable to find it in the documentation.
I definitely think that this is a must have feature.

  • Version: 2.6.0-1
  • Platform: Ubuntu 14.04
question

Most helpful comment

Can't you do this?

redis.hincrby(hashkey, field, 1)

All 4 comments

Can't you do this?

redis.hincrby(hashkey, field, 1)

The documentation only describes a few Redis commands. Afaik all commands are supported and they all follow the same kind of implementation as documented in the README :)

That's great - I will test it soon.

I am wondering if other people are also getting discouraged from using the software because of this? Would it be worth while writing a full doc with all features?

Thanks for your help!

@adamgajzlerowicz the README states multiple times to check the commands reference for a complete list of possible commands. The only documented commands in the README are and should be the ones that are handled special / need some further explanation on how to use them. If you have the feeling that the README is not obvious enough, I'd be glad to receive a pull request to improve it further.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dotSlashLu picture dotSlashLu  ·  5Comments

Mickael-van-der-Beek picture Mickael-van-der-Beek  ·  6Comments

aletorrado picture aletorrado  ·  6Comments

b96705008 picture b96705008  ·  7Comments

gpascale picture gpascale  ·  4Comments