Browse Source

fix: add missing ( ) for precedence

feat/0523-export-schema
Wing-Kam Wong 3 years ago committed by Raju Udava
parent
commit
5f9369cd58
  1. 1
      packages/nocodb/src/lib/dataMapper/lib/sql/formulav2/formulaQueryBuilderv2.ts

1
packages/nocodb/src/lib/dataMapper/lib/sql/formulav2/formulaQueryBuilderv2.ts

@ -69,6 +69,7 @@ export default async function formulaQueryBuilderv2(
model,
{ ...aliasToColumn, [col.id]: null }
);
builder.sql = '(' + builder.sql + ')';
aliasToColumn[col.id] = builder;
}
break;

Loading…
Cancel
Save