Represents a connection to a redis database.
Initializes a new instance of this object.
The connection options for this database.
Deletes a key in the database or deletes all keys in the database.
Optional
The key to delete. If this is undefined, then all keys should be deleted.
Gets the value of a specific key in the database.
The key to retrieve.
The value of the given key, null if no such value exists and no fallback was provided.
Creates or updates a key value.
The key to update.
The value to set.
The value that was written.
Represents a connection to a redis database.