UNPKG

407 BTypeScriptView Raw
1import { QueryResultCache } from "./QueryResultCache";
2import { Connection } from "../connection/Connection";
3/**
4 * Caches query result into Redis database.
5 */
6export declare class QueryResultCacheFactory {
7 protected connection: Connection;
8 constructor(connection: Connection);
9 /**
10 * Creates a new query result cache based on connection options.
11 */
12 create(): QueryResultCache;
13}