GET Command
Video Player is loading.
Loaded: 0%
Current Time 0:00
/
Duration -:-
- , opens subtitles settings dialogsubtitles settings
- subtitles off
- , selectedEnglish Captions
1x
- 2x
- 1.5x
- , selected1x
- 0.5x
This is a modal window.
The media could not be loaded, either because the server or network failed or because the format is not supported.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
GET Command
After storing a value in a key, it makes sense that we would want to retrieve it, and that's exactly what the GET
command allows us to do.
Inside the [key]
placeholder, you should provide the name of the key, which will return the value stored under it.
Example Usage
We already have a key called mykey
, with the value Hello, Redis!
stored under it. Let's retrieve the value using the key.
The console will return the string Hello, Redis!
, which is stored under that key.
1. What does the GET
command do in Redis?
2. What happens if the specified key does not exist when using the GET
command?
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 2
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla