当前位置:
首页 >
(error) ERR wrong number of arguments for 'hmget' command
发布时间:2023/12/31
45
豆豆
生活随笔
收集整理的这篇文章主要介绍了
(error) ERR wrong number of arguments for 'hmget' command
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
首先不存在hmgetall这样的命令,
localhost:6379> hgetall people_info
正确用法如下:
localhost:6379> hmget people_info "\xe5\xbc\xa0\xe5\xb0\x8f\xe4\xba\x8c"
或者:
localhost:6379> hmget people_info "张小二"
上面加粗的地方是命令
总结
以上是生活随笔为你收集整理的(error) ERR wrong number of arguments for 'hmget' command的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: Linux建立虚拟ip的方法
- 下一篇: redis.exceptions.Res