File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
packages/transform/src/transformers Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -194,20 +194,6 @@ export class V13ToV14Transformer {
194194 }
195195 }
196196
197- if ( funcname . length >= 2 ) {
198- const firstElement = funcname [ 0 ] ;
199- const lastElement = funcname [ funcname . length - 1 ] ;
200- if ( firstElement && typeof firstElement === 'object' && 'String' in firstElement &&
201- lastElement && typeof lastElement === 'object' && 'String' in lastElement ) {
202- const prefix = firstElement . String . str || firstElement . String . sval ;
203- const funcName = lastElement . String . str || lastElement . String . sval ;
204- if ( prefix === 'pg_catalog' && funcName === 'substring' ) {
205- if ( this . isStandardFunctionCallSyntax ( node , context ) ) {
206- funcname = funcname . slice ( 1 ) ;
207- }
208- }
209- }
210- }
211197 }
212198
213199 result . funcname = funcname ;
You can’t perform that action at this time.
0 commit comments