当前位置:网站首页>Redis key operation
Redis key operation
2022-07-06 01:40:00 【Freezing point contract】
operation key
keys * : View all... Of the current library key
exists key: Judge a certain key Whether there is
type key: Judge key What type is it
del key: Delete the specified key The data of
unlink key: Asynchronously delete the specified key( Only will keys from keyspace Delete from metadata , The real deletion will be done asynchronously later )
expire key 10: Set up key The expiration date is 10s
ttl key: see key How much more? s Be overdue ,-1 Represents never expires ,-2 Indicates that it has expired
select db: Switch to the specified library
dbsize: View the current library's key Number
flushdb: Empty the current library
flushall: Empty all libraries
边栏推荐
- 【已解决】如何生成漂亮的静态文档说明页
- internship:项目代码所涉及陌生注解及其作用
- Kubernetes stateless application expansion and contraction capacity
- Basic operations of database and table ----- set the fields of the table to be automatically added
- 一圖看懂!為什麼學校教了你Coding但還是不會的原因...
- [the most complete in the whole network] |mysql explain full interpretation
- Unity VR resource flash surface in scene
- D22:indeterminate equation (indefinite equation, translation + problem solution)
- What is weak reference? What are the weak reference data types in ES6? What are weak references in JS?
- A Cooperative Approach to Particle Swarm Optimization
猜你喜欢

Basic operations of databases and tables ----- unique constraints

You are using pip version 21.1.1; however, version 22.0.3 is available. You should consider upgradin
![[flask] official tutorial -part3: blog blueprint, project installability](/img/fd/fc922b41316338943067469db958e2.png)
[flask] official tutorial -part3: blog blueprint, project installability

Kubernetes stateless application expansion and contraction capacity

Leetcode3. Implement strstr()

yii中console方法调用,yii console定时任务

Redis-列表

UE4 unreal engine, editor basic application, usage skills (IV)

Huawei converged VLAN principle and configuration
![[technology development -28]: overview of information and communication network, new technology forms, high-quality development of information and communication industry](/img/94/05b2ff62a8a11340cc94c69645db73.png)
[technology development -28]: overview of information and communication network, new technology forms, high-quality development of information and communication industry
随机推荐
Unity | two ways to realize facial drive
Leetcode sum of two numbers
[detailed] several ways to quickly realize object mapping
National intangible cultural heritage inheritor HD Wang's shadow digital collection of "Four Beauties" made an amazing debut!
leetcode刷题_平方数之和
Ali test open-ended questions
Paddle框架:PaddleNLP概述【飛槳自然語言處理開發庫】
[solved] how to generate a beautiful static document description page
普通人下场全球贸易,新一轮结构性机会浮出水面
Cookie concept, basic use, principle, details and Chinese transmission
Selenium waiting mode
[flask] official tutorial -part2: Blueprint - view, template, static file
A Cooperative Approach to Particle Swarm Optimization
Electrical data | IEEE118 (including wind and solar energy)
037 PHP login, registration, message, personal Center Design
Redis守护进程无法停止解决方案
Mathematical modeling learning from scratch (2): Tools
yii中console方法调用,yii console定时任务
ctf. Show PHP feature (89~110)
Netease smart enterprises enter the market against the trend, and there is a new possibility for game industrialization