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

Shouldn't there be a comparison with optimal SQL query #4

Open
pranaypratyush opened this issue Feb 14, 2021 · 1 comment
Open

Shouldn't there be a comparison with optimal SQL query #4

pranaypratyush opened this issue Feb 14, 2021 · 1 comment

Comments

@pranaypratyush
Copy link

Wouldn't the right control for this experiment be the optimal SQL query with all the joins done by postgres instead of prisma?

@Wyctus
Copy link

Wyctus commented Mar 11, 2021

This is exactly what I think as well. This library generates one SQL query from the whole GraphQL query, so the joining is done by the database itself. I used it with great results in the past. Unfortunately the types are not really handled by this.
But give it a try yourself, to see a comparison!

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

2 participants