Skip to content

Commit 49b9772

Browse files
fix: remove INSERT and UPDATE context exclusions from shouldAddFuncformat to allow more funcformat assignments
Co-Authored-By: Dan Lynch <[email protected]>
1 parent 983ffad commit 49b9772

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -268,14 +268,6 @@ export class V13ToV14Transformer {
268268
return false;
269269
}
270270

271-
if (this.isInInsertContext(context)) {
272-
return false;
273-
}
274-
275-
if (this.isInUpdateContext(context)) {
276-
return false;
277-
}
278-
279271
if (this.isInRangeFunctionContext(context)) {
280272
return false;
281273
}
@@ -292,10 +284,6 @@ export class V13ToV14Transformer {
292284
return false;
293285
}
294286

295-
if (this.isInSelectFromContext(context)) {
296-
return false;
297-
}
298-
299287
if (this.isInCreateIndexContext(context)) {
300288
return false;
301289
}

0 commit comments

Comments
 (0)