Retrieves the underlying database connection.
This method uses a type assertion to return the connection as the requested type. It is the caller's responsibility to ensure the correct type is used.
The expected type of the database connection.
The database connection cast to type T.
StaticregisterRegisters the connector as a singleton in the DI container.
The DI container to register in.
Redis-based database connector implementation.
Uses the official Node Redis client with custom Redis Functions.
See
https://github.com/redis/node-redis - Node Redis client
Depends:
Example