6,128
社区成员




hset man.1 zhangsan age 20 city bj
(error) ERR wrong number of arguments for 'hset' command
这个语法对么[/quote]
在线急等[/quote]
嗯,应该是 hmset
hmget(key, field1, …,field N):返回名称为key的hash中field i对应的value
hmset(key, field1, value1,…,field N, value N):向名称为key的hash中添加元素field i<—>value i
[/quote]
恩恩,可以了,感谢~
hset man.1 zhangsan age 20 city bj
(error) ERR wrong number of arguments for 'hset' command
这个语法对么[/quote]
在线急等[/quote]
嗯,应该是 hmset
hmget(key, field1, …,field N):返回名称为key的hash中field i对应的value
hmset(key, field1, value1,…,field N, value N):向名称为key的hash中添加元素field i<—>value i
hset man.1 zhangsan age 20 city bj
(error) ERR wrong number of arguments for 'hset' command
这个语法对么[/quote]
在线急等
hset man.1 zhangsan age 20 city bj
(error) ERR wrong number of arguments for 'hset' command
这个语法对么