Netzo Logo

redis

Redis is a high performance in-memory data structure store, used as a database, cache and message broker.

Usage

import { redis } from 'netzo/databases/redis.ts'

const db = redis({
  url: Deno.env.get('REDIS_URL'),
})

Configuration

The redis factory function expects an object with the following, and returns an object with a database client db.

ParamTypeDefaultDescription
urlstringDeno.env.get('REDIS_URL')the connection string URL to the Redis instance
Refer to official database driver documentation for more information.

Examples

Coming soon...

References