PythonShell上:
In [1]: db.lpush("hello","test") Out[1]: 1L In [2]: db.lrem("hello",0,"test") Out[2]: 0L
redis-cli上:
redis 127.0.0.1:6379> lrem hello 0 test (integer) 1
谢谢
PythonShell上:
In [1]: db.lpush("hello","test") Out[1]: 1L In [2]: db.lrem("hello",0,"test") Out[2]: 0L
redis-cli上:
redis 127.0.0.1:6379> lrem hello 0 test (integer) 1
谢谢
2 回答5k 阅读✓ 已解决
2 回答1.1k 阅读✓ 已解决
4 回答943 阅读✓ 已解决
3 回答1.1k 阅读✓ 已解决
3 回答1.1k 阅读✓ 已解决
1 回答1.7k 阅读✓ 已解决
1 回答1.2k 阅读✓ 已解决
你用反了