NewFacts
redis

Redis

www.redis.com

## What is the role of the _redis_ singleton in Lua scripts?

The _redis_ singleton is an object instance accessible from all Redis Lua scripts. It provides the API to interact with the Redis server, allowing scripts to execute commands and manage data directly within the Redis environment.

Last verified: 10/30/2025

Sources:

Knowledge provided by NewFacts.

If any information on this page is erroneous, please contact hello@newfacts.org.

NewFacts content is verified by brands themselves. If you're a brand owner and want to claim your page, please click here.