当前位置:网站首页>Redis (I) -- getting started with redis (2) -- redis data type
Redis (I) -- getting started with redis (2) -- redis data type
2022-06-29 18:46:00 【The pleasure is boundless】
Redis data type
String - String type
Hash - Hash type
List - List the type
Set - Collection types
Zset - Ordered set type
String String type
String command
Hash Key type
Hash Type is used to store structured data
Hash command
List List the type
List A list is a list of strings “ Array ”, Sort by insertion order .
List The maximum length of the list is 2 Of 32 Power -1, Can contain 40 100 million elements .
List command
rpush listkey c b a - Insert... On the right
lpush listkey f e d - Insert... On the left
rpop listkey - Right pop up
lpop listkey - Pop up on the left
lrange listkey 0 -1 - List listkey All elements from start to end in
Set And Zset Collection types
Set A collection is an unordered collection of strings , Collection members are unique .
Zset A collection is an ordered collection of strings , Collection members are unique .
sinter set1 set2 - intersection
sunion set1 set2 - Combine
sdiff set1 set2 - Difference set
边栏推荐
- Apache inlong million billion level data stream processing
- Usage of BeanUtils property replication
- Markdown common fonts
- 报错Failed to allocate graph: MYRIAD device is not opened.
- Adobe Premiere基础-常用的视频特效(裁剪,黑白,剪辑速度,镜像,镜头光晕)(十五)
- 如何在树莓派上使用OAK相机?
- 踩坑记:JSON.parse和JSON.stringify
- JS text particle dynamic background
- Shell基本语法--流程控制
- 【TcaplusDB知识库】TcaplusDB运维单据介绍
猜你喜欢
山东大学项目实训(八)设计轮播图进入页面
Detailed analysis on the use of MySQL stored procedure loop
Know that Chuangyu has helped the energy industry in asset management and was selected into the 2021 IOT demonstration project of the Ministry of industry and information technology
[how the network is connected] Chapter 3 explores hubs, switches and routers
How to use the oak camera on raspberry pie?
Adobe Premiere基础-不透明度(蒙版)(十一)
Adobe Premiere Basics - common video effects (corner positioning, mosaic, blur, sharpen, handwriting tools, effect control hierarchy) (16)
剑指 Offer 34. 二叉树中和为某一值的路径-dfs法
JDBC knowledge
My first experience of remote office | community essay solicitation
随机推荐
Apache Doris basic usage summary
Sword finger offer 34 Path DFS method for binary tree neutralization
If the evaluation conclusion of waiting insurance is poor, does it mean that waiting insurance has been done in vain?
Adobe Premiere基础-素材嵌套(制作抖音结尾头像动画)(九)
JS converts seconds to "2h30min50s" format
面霸篇:MySQL六十六问,两万字+五十图详解!
Adobe Premiere foundation - opacity (mixed mode) (XII)
2022.6.29-----leetcode.535
第八届“互联网+”大赛 | 云原生赛道邀你来挑战
Chapter 02_ MySQL data directory
Adobe Premiere foundation - sound adjustment (volume correction, noise reduction, telephone tone, pitch shifter, parameter equalizer) (XVIII)
AMAZING PANDAVERSE:META”无国界,来2.0新征程激活时髦属性
Application and practice of DDD in domestic hotel transaction -- Theory
Usage of BeanUtils property replication
山东大学项目实训(六)点击事件展示折线图
WBF:检测任务NMS后虑框新方式?
SD6.24集训总结
Adobe Premiere foundation - material nesting (animation of Tiktok ending avatar) (IX)
BeanUtils属性复制的用法
如何使用物联网低代码平台进行服务管理?