You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have logged queries generated by Prisma when querying data from PostgreSQL and can see that it is sending two separate queries to the database. So now I do not know if I am interpreting this right or not:
Convert info: GraphQLResolveInfo to select object accepted by prisma client this will give you the best performance because you will just query exactly what you want in RootQuery this mean one resolver so no more N + 1 issue.
Hi,
I have logged queries generated by Prisma when querying data from PostgreSQL and can see that it is sending two separate queries to the database. So now I do not know if I am interpreting this right or not:
As you can see here in my demo app. Steps to reproduce:
pnpm i --frorzen-lockfile
.nx serve botprobe-nest
.nx e2e botprobe-nest-e2e
.And now if you check the logs in your terminal for
nx serve botprobe-nest
you can see:So how is this
@paljs/plugin
is helping my app to be more performant? Asking since AFAIK the best performance would be when the joins are performed at the database level. Something similar to this new feature of Prisma although as I pointed it out here it is not gonna be something that we can consider as it is now IMO.The text was updated successfully, but these errors were encountered: