user647527
user647527

Reputation: 319

How to read the script back after script load into redis instance.?

Let's say I had loaded a script into redis, can I read the script later again troubleshooting?
For example, can I read back "return 100" from

script load "return 100"
evalsha 22cd37f569ce84333afb93ba232d04d5aa6bb87a 1 key val

Upvotes: 1

Views: 195

Answers (1)

Pascal Le Merrer
Pascal Le Merrer

Reputation: 5981

You cannot not read again the script. It has to be created and stored by your application. Redis just put it in a cache. If you want to debug your script, you can use the script debug command.

Upvotes: 2

Related Questions