在根据redis的可以查询value的时候,出现WRONGTYPE Operation against a key holding the wrong kind of value的报错,原来是因为我的key出现了问题。原本key是作为字符串的key,我又作为hash的key,当我将字符串的key单过hash的key查找时出现了冲突。
Redis:WRONGTYPE Operation against a key holding the wrong kind of value
最新推荐文章于 2024-08-20 16:25:33 发布