Browse Source

fix: wrap nested rollup query (#8652)

pull/8661/head
Pranav C 6 months ago committed by GitHub
parent
commit
b1526aff66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/nocodb/src/db/generateLookupSelectQuery.ts

2
packages/nocodb/src/db/generateLookupSelectQuery.ts

@ -309,7 +309,7 @@ export default async function generateLookupSelectQuery({
alias: prevAlias, alias: prevAlias,
}) })
).builder; ).builder;
selectQb.select(builder); selectQb.select(knex.raw(builder).wrap('(', ')'));
} }
break; break;
case UITypes.Formula: case UITypes.Formula:

Loading…
Cancel
Save