UNPKG

iagate-querykit

Version:

QueryKit: lightweight TypeScript query toolkit with models, views, triggers, events, scheduler and adapters (better-sqlite3).

19 lines 584 B
import type { DatabaseExecutor, QueryResult } from '../types'; export type PostgresExecutorConfig = { connectionString?: string; host?: string; port?: number; user?: string; password?: string; database?: string; ssl?: boolean | object; poolSize?: number; }; export declare class PostgresExecutor implements DatabaseExecutor { private config; dialect: 'postgres'; private pool; constructor(config?: PostgresExecutorConfig); executeQuery(sql: string, bindings?: any[]): Promise<QueryResult>; } //# sourceMappingURL=postgresql.d.ts.map