EVALSHA_RO(3valkey)

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

πŸ’– EVALSHA_RO β€” bestie edition πŸ’–

okay so. <rainbow>evalsha_ro</rainbow> from the 3valkey manual. it's the read-only girlie of the Lua script world, and she will be serving. let's get into it ✨


✨ NAME ✨

evalsha_ro β€” Executes a read-only server-side Lua script by SHA1 digest. πŸŽ€


🌸 SYNOPSIS 🌸

EVALSHA_RO sha1 numkeys key [key...]  arg [arg...]

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically? this is a read-only variant of the valkey-evalsha(7) EVALSHA command. the whole vibe is that it cannot execute commands that modify data. it's giving "look but don't touch" and honestly? iconic πŸ’…

for more info about when you'd reach for this command vs plain EVALSHA, go read valkey-programmability(7) β†’ Read-only scripts. that's where the lore lives, bestie.

and for more info about EVALSHA scripts in general, check valkey-eval-intro(7) β†’ Introduction to Eval Scripts. slay.


πŸ’œ REPLY πŸ’œ

the return value depends on the script that was executed. so like... it's whatever the script says it is. mystery, but make it documented 🌈


🧚 COMPLEXITY 🧚

Depends on the script that is executed. yeah we know, very "depends on the script" of it. that's the whole point though πŸ’€


πŸ‘‘ ACL CATEGORIES πŸ‘‘

  • @scripting
  • @slow

⭐ HISTORY ⭐

  • Available since: 7.0.0 β€” so she's a 7.0.0 era baddie 🫢

🌈 SEE ALSO 🌈


okay that's the whole page, no cap. this was EVALSHA_RO(3valkey) from the Valkey Command Manual, version 9.0.0, dated 2025-10-21. ily, go run a read-only script responsibly πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from