当前位置:网站首页>[redis] basic operation of key
[redis] basic operation of key
2022-06-21 15:35:00 【Charming】
- redis Common data type operation commands :http://www.redis.cn/commands.html
1. Redis key (key)
keys *: View all of the current librarykeyundefinedInsert picture description here exists key: Judge a certainkeyWhether there is , There is no return0Insert picture description here type key: see key What type is itInsert picture description here del key: Delete specified key dataInsert picture description here unlink key: according to value Select non blocking delete , Only willkeysfromkeyspaceDelete from metadata , The real deletion will be done asynchronously later .expire key 10:10 Second , For the specified key Set expiration timettl key: See how many seconds are left to expire ,-1Never expire ,-2Indicates that it has expiredInsert picture description here Insert picture description here select: Switch databaseInsert picture description here dbsize: Returns the... Of the current database key The number ofInsert picture description here flushdb: Empty the current libraryInsert picture description here flushall: Empty all libraries
边栏推荐
- Merge two ordered linked lists
- 階乘求和
- Work assessment of contract law of Jilin University in March of the 22nd spring -00100
- Word thesis typesetting tutorial
- Defcampctf2122 Forensics
- MNIST model training (with code)
- Redis introduction and Practice (with source code)
- Bookstack: an open source wiki platform
- My debug Path 1.0
- Complete and detailed installation steps for kubeneter version 1.7
猜你喜欢
![[Yugong series] February 2022 wechat applet -app Subpackages and preloadrule of JSON configuration attribute](/img/94/a2447b3b00ad0d8fb990917531316d.jpg)
[Yugong series] February 2022 wechat applet -app Subpackages and preloadrule of JSON configuration attribute

soEasyCheckin

Research Report on the overall scale, major producers, major regions, products and application segments of active aluminum chloride in the global market in 2022

Fluent encapsulates an immersive navigation bar with customizable styles NavigationBar

Idea restart

New project template of punctual atom F103 based on firmware library
Counter attack of flour dregs: MySQL 66 questions, 20000 words + 50 pictures!

Three sides of the headline: tostring(), string Valueof, (string) forced rotation. What is the difference

Build an efficient and scalable result cache

Redis introduction and Practice (with source code)
随机推荐
Finding minimum spanning tree by using union search set
GO语言-type关键字
Rk3399 platform development series explanation (network debugging) 7.32. What is network routing?
Talk about MySQL's locking rule "hard hitting MySQL series 15"
Retrieve the compressed package password
Perfect partner of ebpf: cilium connected to cloud native network
模拟设计磁盘文件的链接存储结构
Idea restart
H2O brings AI master NLP technology to enterprises
C language selection type supplement
Counter attack of flour dregs: MySQL 66 questions, 20000 words + 50 pictures!
Niuke - real exercise-01
Basic concepts of database
‘maxflow‘ has no attribute ‘Graph‘
2022 Hunan latest fire facility operator simulation test question bank and answers
[go] time package
Gee Registration Guide
Learn upward management and four questioning skills to get twice the result with half the effort
Defcampctf2122 Forensics
Is pension insurance a financial product? Is the fund safe?