1 | import { IModulePatcher } from "diagnostic-channel";
|
2 | export interface ITediousResult {
|
3 | rowCount: number;
|
4 | rows: any;
|
5 | }
|
6 | export 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 | }
|
23 | export declare const tedious: IModulePatcher;
|
24 | export declare function enable(): void;
|