- Introduction
- Strings
- Lists
- Sets
- Sorted Sets (ZSets)
- SORTED SETS Introduction
- ZADD
- ZINCRBY
- ZRANGE
- ZRANGESTORE 6.2
- ZLS Ent
- ZREVRANGE
- ZRANGEBYSCORE
- ZREVRANGEBYSCORE
- ZRANGEBYLEX
- ZREVRANGEBYLEX
- ZCARD
- ZLEN Ent
- ZCOUNT
- ZLEXCOUNT
- ZRANK
- ZREVRANK
- ZSCORE
- ZMSCORE 6.2
- ZREM
- ZRM Ent
- ZREMRANGEBYRANK
- ZREMRANGEBYSCORE
- ZREMRANGEBYLEX
- ZUNION 6.2
- ZINTER 6.2
- ZDIFF 6.2
- ZUNIONSTORE
- ZINTERSTORE
- ZDIFFSTORE 6.2
- ZSCAN
- ZPOPMIN 5.0
- ZPOPMAX 5.0
- BZPOPMIN 5.0
- BZPOPMAX 5.0
- ZISMEMBER Ent
- ZRANDMEMBER 6.2
- Hashes
- Streams
- Common Keys
- COMMON Introduction
- EXISTS
- UNLINK
- KEYS
- LS Ent
- LL Ent
- RM Ent
- SCAN
- SORT
- RENAME
- RENAMENX
- EXPIRE
- EXPIREAT
- TTL
- PEXPIRE
- PEXPIREAT
- PTTL
- PERSIST
- TYPE
- OBJECT
- RANDOMKEY
- COPY 6.2
- MOVE
- DUMP
- RESTORE
- MIGRATE
- TOUCH
- DB Ent 8.1.0
- DBALL Ent 8.1.0
- ETYPE Ent 8.1.0
- EKEYS Ent 8.1.0
- ELS Ent 8.1.0
- ELL Ent 8.1.0
- ERM Ent 8.1.0
- LOLWUT
- LS(old)
- LL(old)
- Recyclebin New
- Bits
- Pub/Sub
- Lua Script
- HyperLogLog(PF)
- Geo
- Connection
- Redis on Windows
redis commands common persist_subquery
PERSISTS (subquery)
Apply for Redis Developer Course
|
Redis Regular Inspection / Technical Support
|
Redis Enterprise Server
|
|---|
Subquery feature
You can use the ls command as a subquery.
Example
| Command> | persists (ls user*) |
| Result> | 10 |
| Command> | persists (ls * string) |
| Result> | 20 |
| Command> | persists (ls * limit 10) |
| Result> | 10 |
| This command is available from Enterprise version 7.2.5 . |
Syntax
PERSISTS (subquery)
- Available since Enterprise version 7.2.5.
- Time complexity depends on the subquery.
| << PERSIST | PERSISTS | TYPE >> |
|---|
Email
답글이 올라오면 이메일로 알려드리겠습니다.
