Skip to content

Commit dd04b3c

Browse files
revert: restore substring override to maintain 231 passing tests - blanket COERCE_SQL_SYNTAX works better than context-specific logic
Co-Authored-By: Dan Lynch <[email protected]>
1 parent 9a11fff commit dd04b3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -920,6 +920,7 @@ export class V13ToV14Transformer {
920920
if (funcname.toLowerCase() === 'substring') {
921921
return 'COERCE_SQL_SYNTAX';
922922
}
923+
923924

924925
const explicitCallFunctions = [
925926
'substr', 'timestamptz', 'timestamp', 'date', 'time', 'timetz',

0 commit comments

Comments
 (0)