hvals
HVALS
Apply for Redis Developer Course
|
Redis Regular Inspection / Technical Support
|
Redis Enterprise Server
|
|---|
Get all values of a key
The usage is hvals key.
Values are returned in insertion order.
Example
| Command> | hvals user-1 |
| Result> |
1) charlie@redisgate.com 2) English 3) M |
| Command> | hmset user-2 gender F name Sally language Korean |
| Result> | 3 |
| Command> | hvals user-2 |
| Result> |
1) F 2) Sally 3) Korean |
Syntax
HVALS key [key ...]
- Available since version 2.0.0.
- Time complexity is O(N). N is the number of fields.
| SQL Select | If you are on Redis Enterprise 7.3.0 or later, try SELECT. |
| Clients for Java | Jedis, Lettuce, Redisson | Clients for C | Hiredis |
| << HKEYS | HVALS | HGETALL >> |
|---|
Email
답글이 올라오면 이메일로 알려드리겠습니다.
