Join Slack
Powered by
I have two tables: users and posts. A user has man...
# prisma-client
o
Opesanya Adebayo
02/15/2022, 7:42 PM
I have two tables: users and posts. A user has many posts. Can I
eager load
the user records from posts, such that as I fetch the posts, they come with the corresponding user’s record on the users table? I'm using Prisma with Postgres
j
Jared Fraser
02/16/2022, 4:24 AM
https://www.prisma.io/docs/concepts/components/prisma-client/relation-queries#nested-reads
2
Views
Open in Slack
Previous
Next