Skip to content

Commit c61c712

Browse files
feat: add INSERT context exclusion for funcformat to handle generate_series and similar functions
Co-Authored-By: Dan Lynch <[email protected]>
1 parent 5adabf6 commit c61c712

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/transform/src/transformers/v13-to-v14.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@ export class V13ToV14Transformer {
180180
return false;
181181
}
182182

183+
if (this.isInInsertContext(context)) {
184+
return false;
185+
}
186+
183187
return true;
184188
}
185189

0 commit comments

Comments
 (0)