node-jdbc-firebird
Version:
This package is help to use jdbc connection
21 lines (20 loc) • 735 B
TypeScript
import { DriverType, DriverConfig } from './IDatabase';
import { BaseConfig } from './IConfig';
export default class DatabaseDriver implements DriverType {
protected config: BaseConfig;
driver: DriverConfig;
driverPath: string;
constructor(type: any, config: BaseConfig);
get_config: () => {
maxpoolsize?: number | undefined;
minpoolsize?: number | undefined;
password?: string | undefined;
user?: string | undefined;
url: string;
drivername: string;
};
get_query: (tableName: string, type?: string) => string;
protected get_jdbcUrl: () => string;
protected set_driver(driver: DriverConfig): void;
protected set_driver_path(path: string): void;
}