get
GET
Apply for Redis Developer Course
|
Redis Regular Inspection / Technical Support
|
Redis Enterprise Server
|
|---|
Get the value
GET retrieves the value of a key. Usage: get key
Example
| Command> | get key4 |
| Result> | (nil) |
| Command> | set key4 value |
| Result> | OK |
| Command> | get key4 |
| Result> | value |
Syntax
GET key
- Available since version 1.0.0.
- Time complexity is O(1).
| SQL Select | If you have Redis Enterprise 7.3.0 or later, try SELECT. |
| Related commands | MGET |
| Clients for Java | Jedis, Lettuce, Redisson | Clients for C | Hiredis |
| << DELS | GET | GETEX >> |
|---|
Email
답글이 올라오면 이메일로 알려드리겠습니다.
