Open TopSpoofer opened 6 years ago
redis.hset("rrr", "item5", "value3") when first set it, return true but redis.hset("rrr", "item5", "value4") return false and the redis server was update the value to "value4"
According to official redis-docs it returns 0 if field already exists and value was updated
@rtenagom so, why not return ture? return 0 is successful in c and redis
redis.hset("rrr", "item5", "value3") when first set it, return true but redis.hset("rrr", "item5", "value4") return false and the redis server was update the value to "value4"