美文网首页
redis basic

redis basic

作者: 旭日丶丶 | 来源:发表于2022-06-08 17:35 被阅读0次
  • enter command: redis-cli
  • choose db: select 1 (1 is db name)
  • show all keys: keys *
  • del key: del key_name
  • show key type: type key_name
  • show list type key len: llen key_name
  • show list type key value: lrange key_name 0 -1

other:https://www.jianshu.com/p/52552c075bc0

相关文章

网友评论

      本文标题:redis basic

      本文链接:https://www.haomeiwen.com/subject/bawumrtx.html