为了账号安全,请及时绑定邮箱和手机立即绑定

Python上的Redis操作求助

Python上的Redis操作求助

ABOUTYOU 2018-07-27 12:14:11
PythonShell上:In [1]: db.lpush("hello","test") Out[1]: 1L In [2]: db.lrem("hello",0,"test") Out[2]: 0Lredis-cli上:redis 127.0.0.1:6379> lrem hello 0 test (integer) 1谢谢
查看完整描述

3 回答

?
慕姐8265434

TA贡献1813条经验 获得超2个赞

你用反了

db.lrem("hello", "test", 0);


查看完整回答
反对 回复 2018-07-30
  • 3 回答
  • 0 关注
  • 862 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信