UNPKG

558 BTypeScriptView Raw
1import { IModulePatcher } from "diagnostic-channel";
2export interface ITediousResult {
3 rowCount: number;
4 rows: any;
5}
6export interface ITediousData {
7 query: {
8 text?: string;
9 plan?: string;
10 preparable?: {
11 text: string;
12 args: any[];
13 };
14 };
15 database: {
16 host: string;
17 port: string;
18 };
19 result?: ITediousResult;
20 duration: number;
21 error?: Error;
22}
23export declare const tedious: IModulePatcher;
24export declare function enable(): void;