File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -2659,7 +2659,7 @@ insert_partition
2659
2659
= KW_PARTITION __ LPAREN __ head :ident_name tail :(__ COMMA __ ident_name )* __ RPAREN {
2660
2660
return createList (head, tail)
2661
2661
}
2662
- / KW_PARTITION __ v : value_item {
2662
+ / KW_PARTITION __ v :value_item {
2663
2663
return v
2664
2664
}
2665
2665
Original file line number Diff line number Diff line change @@ -232,10 +232,15 @@ export interface Select {
232
232
}
233
233
export interface Insert_Replace {
234
234
type : "replace" | "insert" ;
235
- db : string | null ;
236
235
table : any ;
237
236
columns : string [ ] | null ;
238
- values : InsertReplaceValue [ ] ;
237
+ values : InsertReplaceValue [ ] | Select ;
238
+ partition : any [ ] ;
239
+ prefix : string ;
240
+ on_duplicate_update : {
241
+ keyword : "on duplicate key update" ,
242
+ set : SetList [ ] ;
243
+ } ;
239
244
loc ?: LocationRange ;
240
245
}
241
246
export interface Update {
You can’t perform that action at this time.
0 commit comments