We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eab6e0a commit 7911fe0Copy full SHA for 7911fe0
src/sql/recent-query.ts
@@ -4,6 +4,7 @@ import type { SegmentedQueryCache } from "../sync/seen-cache.ts";
4
import {
5
Analyzer,
6
DiscoveredColumnReference,
7
+ Nudge,
8
SQLCommenterTag,
9
} from "@query-doctor/core";
10
import { parse } from "@libpg-query/parser";
@@ -34,6 +35,7 @@ export class RecentQuery {
34
35
readonly tableReferences: string[],
36
readonly columnReferences: DiscoveredColumnReference[],
37
readonly tags: SQLCommenterTag[],
38
+ readonly nudges: Nudge[],
39
readonly hash: QueryHash,
40
readonly seenAt: number,
41
) {
@@ -71,6 +73,7 @@ export class RecentQuery {
71
73
analysis.referencedTables,
72
74
analysis.indexesToCheck,
75
analysis.tags,
76
+ analysis.nudges,
77
hash,
78
seenAt,
79
);
0 commit comments