首页 > Redis命令exists和hexists有什么区别吗?

Redis命令exists和hexists有什么区别吗?

hexists判断hash类型的key是否存在,但是我在本地测试,用exists判断也可以啊,这两个除了hexists不能判断非hash类型key是否存在,还有别的区别吗?


「hexists判断hash类型的key是否存在」 - - 不是

hexists 是 'Determine if a hash field exists'

调用参数都不一样。。。

【热门文章】
【热门文章】