(error) ERR wrong number of arguments for 'hmget' command
生活随笔
收集整理的這篇文章主要介紹了
(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的方法
- 下一篇: MySQL中concat函数的用法(连接