Fetch many strings in one round trip.
Section: Strings
Get multiple values
bash
bash
MGET user:1:name user:2:name user:3:nameLearn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Strings
Set only if key does not exist
Common lock-style pattern using NX and EX.
Get a value and update expiration
Read and extend or modify TTL atomically.