Options
All
  • Public
  • Public/Protected
  • All
Menu

Caches query result into Redis database.

Hierarchy

  • RedisQueryResultCache

Implements

Index

Constructors

constructor

Properties

Protected client

client: any

Connected redis client.

Protected connection

connection: Connection

Protected redis

redis: any

Redis module instance loaded dynamically.

Methods

clear

connect

  • connect(): Promise<void>

Protected deleteKey

  • deleteKey(key: string): Promise<void>

disconnect

  • disconnect(): Promise<void>

getFromCache

isExpired

Protected loadRedis

  • loadRedis(): any

remove

  • remove(identifiers: string[], queryRunner?: QueryRunner): Promise<void>

storeInCache

synchronize

Generated using TypeDoc