Skip to content

Commit d13a63c

Browse files
committed
refactor: update type definition
1 parent 29e53ac commit d13a63c

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)