We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3fcf29 commit d43321cCopy full SHA for d43321c
packages/deparser/src/deparser.ts
@@ -2261,7 +2261,7 @@ export class Deparser implements DeparserVisitor {
2261
const cleanTypeName = typeName.replace('pg_catalog.', '');
2262
// Wrap FuncCall arguments in parentheses to prevent operator precedence issues
2263
if (isFunctionCall) {
2264
- return context.parens(`${arg}::${cleanTypeName}`);
+ return `${context.parens(arg)}::${cleanTypeName}`;
2265
}
2266
return `${arg}::${cleanTypeName}`;
2267
0 commit comments