iagate-querykit
Version:
QueryKit: lightweight TypeScript query toolkit with models, views, triggers, events, scheduler and adapters (better-sqlite3).
17 lines • 493 B
TypeScript
import type { DatabaseExecutor } from '../types';
export type MysqlExecutorConfig = {
host?: string;
port?: number;
user?: string;
password?: string;
database?: string;
connectionLimit?: number;
};
export declare class MysqlExecutor implements DatabaseExecutor {
private config;
dialect: 'mysql';
private pool;
constructor(config: MysqlExecutorConfig);
executeQuery(sql: string, bindings?: any[]): Promise<any>;
}
//# sourceMappingURL=mysql.d.ts.map