使用decr报错
来源:2-1 Redis字符串类型
又是摆烂的一天
2020-06-03 18:52:01
ubuntu-redis-1:0>set num 5.1
"OK"
ubuntu-redis-1:0>decr num"ERR value is not an integer or out of range"
ubuntu-redis-1:0>
1回答
好帮手慕笑蓉
2020-06-03
同学,你好。decr用于整数类型,如:
如果解决了你的疑惑,请采纳,祝学习愉快~
相似问题
回答 2
回答 1