跳至内容

李峰的个人博客

Just Coder

  • centos
  • mysql
  • git
  • mongodb
  • docker
  • nginx
  • redis基础教程
  • 工具

月份:2019年11月

发布于2019-11-242019-11-29

redis数据类型之string-set get讲解

redis有多种数据类型,string是一种很常用的数据类型。

redis给string类型提供了多种方法,下面对常用的方法进行介绍

string提供了很多方法,常见的方法有,set,get,mset,mget,msetnx,psetnx,setex,setnx,append,decr,decrby,incr,incrby,incrbyfloat,getrange,getset,setrange,strlen等。

继续阅读“redis数据类型之string-set get讲解”

Search

Recent Posts

  • Redis基础教程-数据类型hash命令之hdel与hexists的基本用法
  • Redis基础教程-数据类型hash命令之hset与hsetnx的基本用法
  • linux命令中的1,2等数字的解释
  • Redis基础教程-数据类型list命令之ltrim与lrem的基本用法
  • Redis基础教程-数据类型list命令之lpushx与rpushx的基本用法

Archives

  • 2025年2月 (1)
  • 2024年10月 (2)
  • 2023年7月 (1)
  • 2023年2月 (1)
  • 2022年7月 (1)
  • 2022年6月 (2)
  • 2022年5月 (1)
  • 2022年1月 (1)
  • 2021年12月 (1)
  • 2020年11月 (3)
  • 2020年10月 (1)
  • 2020年9月 (2)
  • 2019年12月 (1)
  • 2019年11月 (1)
  • 2019年8月 (1)
  • 2019年7月 (1)
  • 2019年6月 (1)
  • 2019年5月 (1)
  • 2019年4月 (2)
  • 2019年3月 (2)
  • 2019年2月 (1)
  • 2019年1月 (1)
  • 2018年12月 (7)
  • 2018年10月 (3)
      皖ICP备18021499号-1