Commands.app

MSET

Strings

Set multiple keys to multiple values

Examples
Common usage examples

Set multiple key-value pairs

MSET key1 "val1" key2 "val2" key3 "val3"
Notes
  • Atomic operation - all keys set at once
Related Commands
You might also find these useful