MULTI(3valkey)

πŸ“¦
version 9.0.6 Β· 2 versions
, in fedora 44

πŸ’… MULTI (3valkey) β€” the valkey command manual, but make it bestie

okay so real talk, this is the multi page from the Valkey Command Manual and honestly? it's a whole vibe. short, sweet, absolutely iconic. let's get into it 🫢


✨ NAME ✨

multi β€” Starts a transaction. that's it. that's the whole job. queen behavior fr fr πŸ‘‘


🌸 SYNOPSIS 🌸

MULTI

no arguments, no flags, no little optional extras to stress about. you literally just type it. we love a low-maintenance command ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea, bestie πŸ“

MULTI marks the start of a transaction block. that's the ✨ main character moment ✨ where everything changes.

once you've called it, every command you send after that gets queued up instead of running immediately. they just sit there, waiting, holding their little breaths πŸ’€ β€” and then they all go off together, atomically, the second you hit them with EXEC.

so like… it's a group chat where nobody sends a message until the host says go. no cap. πŸŽ€


πŸ’– REPLY πŸ’–

that's it. she says OK and she means it πŸ’…


πŸ‘‘ COMPLEXITY πŸ‘‘

O(1)

constant time, babes. instant. effortless. it's giving no thoughts, just start the transaction ✨


🌈 ACL CATEGORIES 🌈

  • @fast
  • @transaction

two categories, both slaying 🧚


⭐ HISTORY ⭐

  • Available since: 1.2.0

she's been here since 1.2.0 and she has never once needed a glow-up πŸ’œ


πŸ”₯ SEE ALSO πŸ”₯

the whole transaction squad, assembled 😭🫢 go read them next, iykyk


ok genuine note bestie: MULTI only starts the block. it doesn't run anything by itself β€” the queued commands are executed atomically by EXEC. don't forget the second half of the plan πŸ™ˆ

version 9.0.0, dated 2025-10-21, and it's still MULTI(3valkey) at heart. periodt. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from