4 ms·
Eh, I use hincrby and hincrbyfloat to increment an integer in a hash..
by nickphx 5y ago
Eh, I use hincrby and hincrbyfloat to increment an integer in a hash..
- reconditerose 5y agoI think the point was that you lose the type information provided by JSON when you store the data in a hash. There is no way to tell the difference between a string "1" and an integer 1 when stored as values in a Redis Hash, since the integer will be converted to a string.