当前位置:网站首页>002_ Redis_ Common operation commands of string type
002_ Redis_ Common operation commands of string type
2022-04-23 02:08:00 【_ yummy_】
002_Redis_String Common types of operation commands
1、 About increasing 、 Change 、 check
-
SET: Add or modify an existing String Key value pairs of type

-
GET: according to key obtain String Type of value

-
MSET: Batch add multiple String Key value pairs of type

-
MGET: According to the multiple key Batch query multiple String Type of value

2、 About number self increment
-
INCR: Make an integer self incrementing 1

-
INCRBY: Let an integer key Increase according to the specified word length

-
INCRBYFLOAT: Let a floating-point number increase by itself and specify the word length

3、 Other combined commands
-
SETNX: Add one String Key value pairs of type . The premise is this String Key of type does not exist

-
SETEX: Add one String Type and specify the validity period

Little bee Science Redis002, I feel a little sleepy .
版权声明
本文为[_ yummy_]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230202506808.html
边栏推荐
猜你喜欢

想体验HomeKit智能家居?不如来看看这款智能生态

013_基于Session实现短信验证码登录流程分析

PTA: 点赞狂魔
![[hands on learning] network depth v2.1 Sequence model](/img/51/0de4c7972a99151007a8f27f351c83.png)
[hands on learning] network depth v2.1 Sequence model

Shardingsphere broadcast table and binding table

简洁开源的一款导航网站源码

Find the largest number of two-dimensional arrays

Redis memory recycling strategy

Is it better to use a physical machine or a virtual machine to build a website?

如何选择一台好的拨号服务器?
随机推荐
Use of push() and pop()
世界读书日 | 技术人不要错过的好书(IT前沿技术)
Realize linear regression with tensorflow (including problems and solutions in the process)
【汇编语言】从最底层的角度理解“堆栈”
php 2022年4月20面试题整理
hyperscan --- 1
都是做全屋智能的,Aqara和HomeKit到底有什么不同?
[leetcode daily question] 396 Rotation function
013_基于Session实现短信验证码登录流程分析
Tp6 Alibaba cloud SMS window reports curl error 60: SSL certificate problem: unable to get local issuer certificate
LeetCode 349. Intersection of two arrays (simple, array) Day12
Is CICC fortune a state-owned enterprise and is it safe to open an account
What is a proxy IP pool and how to build it?
What businesses use physical servers?
小程序 读取文件
2018 China Collegiate Programming Contest - Guilin Site J. stone game
JDBC cannot connect to MySQL, and the error is access denied for user 'root' @ '* * *' (using password: Yes)
How does Axure set the content of the text box to the current date when the page is loaded
拨号服务器是什么,有什么用处?
在使用代理IP前需要了解哪些分类?