1、redis有五种数据类型:string,list,hash,set,zset,不同的数据类型查看值得方式不同。
2、string:get key
list:pop key
hash: hget hash-name key
set:smembers key
zset: zrange zset-name 0 -1

redis 获取键值对

相关文章:

  • 2022-12-23
  • 2022-01-04
  • 2021-08-14
  • 2022-03-08
  • 2022-01-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-17
  • 2021-07-21
  • 2022-12-23
  • 2021-05-25
  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案