当前位置:网站首页>[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
边栏推荐
- Basic concepts of database
- Kubeneters installation problems Collection
- GO语言-接口
- Design of LVDS interface based on FPGA
- Daily practice (23): the first character that appears only once
- Phy336 Computational Physics
- Word thesis typesetting tutorial
- Warning about UUIDs in MySQL master-slave replication
- Fundamentals of C language 13: file input / output
- Operator Tour (I)
猜你喜欢

Operator Tour (I)

Word thesis typesetting tutorial

微服务架构带来的分布式单体

GO语言-方法

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

The application of RPC technology and its framework sekiro in crawler reverse, encrypting data is a shuttle!

What is Objective-C ID in swift- What is the equivalent of an Objective-C id in Swift?

H2O brings AI master NLP technology to enterprises

Several common implementation methods of mock interface test

What is a good product for children's serious illness insurance? Please recommend it to a 3-year-old child
随机推荐
What is the confirmation date for the scheduled redemption of financial products?
Phantom star VR product details 34: Happy pitching
Select article (040) - what is the log output when you click this paragraph?
Mysql5.7 setup password and remote connection
Nodejs process has too many open files
Algorithm question: interview question 32 - I. print binary tree from top to bottom (title + idea + code + comments) sequence traversal time and space 1ms to beat 97.84% of users once AC
Complete and detailed installation steps for kubeneter version 1.7
Color segmentation based on RGB difference method
Why do you want to be naked with a router
A horse stopped a pawn
57 common mistakes in golang development
Kubeneters' CNI network plug-in installation Kube ovn
Work assessment of contract law of Jilin University in March of the 22nd spring -00100
Gold, silver and four interviews are necessary. The "brand new" assault on the real topic collection has stabilized Alibaba Tencent bytes
P24 de noise
MQ interview questions sorting
Implementation of asynchronous request pool
PLSQL learning log
5700s layer 2 interface and layer 3 interface switching
Telnet batch test (II): key codes for the implementation of Telnet batch test script