Files
powerpoint-toolbox/node_modules/diagnostic-channel-publishers/dist/src/pg.pub.d.ts
T
2025-03-07 19:22:02 +01:00

27 lines
609 B
TypeScript

import { IModulePatcher } from "diagnostic-channel";
export interface IPostgresResult {
rowCount: number;
command: string;
}
export interface IPostgresData {
query: {
text?: string;
plan?: string;
preparable?: {
text: string;
args: any[];
};
};
database: {
host: string;
port: string;
};
result?: IPostgresResult;
duration: number;
error?: Error;
time: Date;
}
export declare const postgres6: IModulePatcher;
export declare const postgres7: IModulePatcher;
export declare function enable(): void;