Comment on Redis explainedparentComments−voxic114yNumbers in redis can be natively represented using BITFIELDS.BITFIELD player:1:stats SET u32 #0 10001) (integer) 0BITFIELD player:1:stats INCRBY u32 #0 -9001) (integer) 100BITFIELD player:1:stats GET u32 #01) (integer) 100−xnorswap4yOK, that's helpful thank you.That said, all the keys themselves are still strings and therefore you can't have a SET of numbers or bitfields.
Comments
Numbers in redis can be natively represented using BITFIELDS.
1) (integer) 0
1) (integer) 100
1) (integer) 100
OK, that's helpful thank you.
That said, all the keys themselves are still strings and therefore you can't have a SET of numbers or bitfields.