@bazilio-san/af-stream
Version:
Data stream from database table
14 lines • 554 B
TypeScript
import * as pg from 'pg';
import { IDbConstructorOptions, IPostgresConfig } from '../interfaces';
import { DbBase } from './DbBase';
export declare class DbPostgres extends DbBase {
pool: pg.Pool | null;
cfg: IPostgresConfig;
constructor(options: IDbConstructorOptions);
getPool(): Promise<pg.Pool>;
close(): Promise<boolean>;
query(strSQL: string): Promise<pg.QueryResult<any>>;
_getColumnsNames(): Promise<string[]>;
limitIt(strSQL: string, limit: number): string;
}
//# sourceMappingURL=DbPostgres.d.ts.map