Skip to content

Commit 4dbe79b

Browse files
Merge pull request taozhi8833998#2581 from taozhi8833998/refactor-type-definition
refactor: update type definition
2 parents fb9c295 + d13a63c commit 4dbe79b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

types.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ export interface SetList {
127127
export interface InsertReplaceValue {
128128
type: "expr_list";
129129
value: any[];
130+
prefix?: string;
130131
loc?: LocationRange;
131132
}
132133

@@ -280,7 +281,10 @@ export interface Insert_Replace {
280281
type: "replace" | "insert";
281282
table: any;
282283
columns: string[] | null;
283-
values: InsertReplaceValue[] | Select;
284+
values: {
285+
type: 'values',
286+
values: InsertReplaceValue[]
287+
} | Select;
284288
partition: any[];
285289
prefix: string;
286290
on_duplicate_update: {

0 commit comments

Comments
 (0)