fix(editor): skip INSERT hints duplicating projection aliases

This commit is contained in:
zipg authored and GitHub committed 2026-09-20 00:51:06 +08:00
1 parent 86115971fa
commit 3cb1faf1c6
6 files changed
+113 -16

No files matched your search

@@ -99,7 +99,7 @@ function shiftClause(clause: InsertValuesClause, offset: number): InsertValuesCl
return {
...clause,
span: { start: clause.span.start + offset, end: clause.span.end + offset },
rows: clause.rows.map((row) => row.map((from) => from + offset)),
rows: clause.rows.map((row) => row.map((source) => ({ ...source, from: source.from + offset }))),
};
}