Skip to content
Discussion options

You must be logged in to vote

@koreagpa-jayce 👋

I think this is happening due to lot of items in the relation. Could you try by adding a limit to what is fetched in the relation and then check:

 await prisma.advertisement.findMany({
        include: {
             AdvertisementDetail: { take: 10 },
        }
});

Replies: 4 comments 12 replies

Comment options

You must be logged in to vote
11 replies
@koreagpa-jayce
Comment options

@koreagpa-jayce
Comment options

@pencilcheck
Comment options

@janpio
Comment options

@jramosss
Comment options

Answer selected by koreagpa-jayce
Comment options

You must be logged in to vote
1 reply
@kasem-sm
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
10 participants