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
谢谢
4 回答4.4k 阅读✓ 已解决
4 回答3.8k 阅读✓ 已解决
1 回答3k 阅读✓ 已解决
3 回答2.1k 阅读✓ 已解决
1 回答4.5k 阅读✓ 已解决
1 回答3.8k 阅读✓ 已解决
1 回答2.8k 阅读✓ 已解决
你用反了