1
0
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:
Guide 2023-06-29 19:22:28 +08:00 committed by GitHub
commit eb4a618184
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,7 @@ OK
```bash
> EXPIRE key 60
(integer) 1
> SETNX key 60 value # 设置值并设置过期时间
> SETEX key 60 value # 设置值并设置过期时间
OK
> TTL key
(integer) 56