UNPKG

297 BTypeScriptView Raw
1import { Driver } from "./Driver";
2import { Connection } from "../connection/Connection";
3/**
4 * Helps to create drivers.
5 */
6export declare class DriverFactory {
7 /**
8 * Creates a new driver depend on a given connection's driver type.
9 */
10 create(connection: Connection): Driver;
11}