Browse Source

Merge pull request #2224 from LepkoQQ/patch-1

fix passing nested query in nested getAst calls
pull/2238/head
Pranav C 3 years ago committed by GitHub
parent
commit
cd00a8fd49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nocodb/src/lib/dataMapper/lib/sql/helpers/getAst.ts

2
packages/nocodb/src/lib/dataMapper/lib/sql/helpers/getAst.ts

@ -72,7 +72,7 @@ const getAst = async ({
value = await getAst({
model,
query: query?.nested,
query: query?.nested?.[col.title],
extractOnlyPrimaries: nestedFields !== '*'
});
}

Loading…
Cancel
Save