Redis HINCRBY哈希字段-1计数器,仅递减到0或非负值

时间:2016-04-11 05:37:06

标签: amazon-web-services redis

否定计数: redis.hincrby(User:${targetUser.id}," followerCount",-1)

我希望它停在0

0 个答案:

没有答案