好好学习,天天向上

Redis 返回 nil 的操作汇总

Redis 返回 nil 的操作汇总Redis 中 nil 表示“无结果”或“键/成员不存在”,不是错误。以下按类型罗列会返回 nil 的常见操作及触发条件。 String(字符串) 命令 返回 nil 的条件 GET key k