redis客户端命令
程序员文章站
2022-07-13 15:51:34
...
1.启动server: redis-server.exe redis.windows.conf
2.启动client: redis-cli.exe
3.查询所有的key: keys *
4.del key
5.exists key
6.move key db
7.rename key newkey
8.renamenx key newkey
9.persist key
10.expire key seconds
11.expireat key timestamp
12.TTL key
13.randomkey
14.type key
15.sort key
2.启动client: redis-cli.exe
3.查询所有的key: keys *
4.del key
5.exists key
6.move key db
7.rename key newkey
8.renamenx key newkey
9.persist key
10.expire key seconds
11.expireat key timestamp
12.TTL key
13.randomkey
14.type key
15.sort key
下一篇: mybatis使用实例