1 | import { QueryResultCache } from "./QueryResultCache";
|
2 | import { Connection } from "../connection/Connection";
|
3 | /**
|
4 | * Caches query result into Redis database.
|
5 | */
|
6 | export 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 | }
|