mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-08-01 16:28:03 +08:00
Merge pull request #2061 from GaozyDev/main
Update redis-data-structures-01.md
This commit is contained in:
commit
eb4a618184
@ -110,7 +110,7 @@ OK
|
||||
```bash
|
||||
> EXPIRE key 60
|
||||
(integer) 1
|
||||
> SETNX key 60 value # 设置值并设置过期时间
|
||||
> SETEX key 60 value # 设置值并设置过期时间
|
||||
OK
|
||||
> TTL key
|
||||
(integer) 56
|
||||
|
Loading…
x
Reference in New Issue
Block a user