Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

findMany Mutation used with take argument is returning empty array for child/related Tables #253

Open
nitheshb opened this issue Feb 8, 2022 · 0 comments

Comments

@nitheshb
Copy link

nitheshb commented Feb 8, 2022

Empty array is being returned,When tried to retrieve rows from related tables with take condition. Parent rows and values are being retrieved successfully

findManyParentTab(take: 2){
name
location
childTable1{
childname
childlocation
}
}

result:

[
{'name': 'Arya',
'location': 'winterfall',
childTable1: []},
{'name': 'Tyrion',
'location': 'Lanister',
childTable1: []},
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant