UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript and ES2023+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.

14 lines (13 loc) 418 B
import type { QueryResultCache } from "./QueryResultCache"; import type { DataSource } from "../data-source/DataSource"; /** * Caches query result into Redis database. */ export declare class QueryResultCacheFactory { protected dataSource: DataSource; constructor(dataSource: DataSource); /** * Creates a new query result cache based on connection options. */ create(): QueryResultCache; }