UNPKG

@n8n/typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports PostgreSQL and SQLite databases.

12 lines (11 loc) 324 B
import type { Driver } from "./Driver"; import type { DataSource } from "../data-source/DataSource"; /** * Helps to create drivers. */ export declare class DriverFactory { /** * Creates a new driver depend on a given connection's driver type. */ static create(connection: DataSource): Promise<Driver>; }