i want to display amount of comments a post has before fetching all the comments
what should I do
Solution:Jump to solution
Prisma
Relation queries (Concepts)
Prisma Client provides convenient queries for working with relations, such as a fluent API, nested writes (transactions), nested reads and relation filters.
3 Replies
try this:
the output should look like these if im correct:
Solution
Prisma
Relation queries (Concepts)
Prisma Client provides convenient queries for working with relations, such as a fluent API, nested writes (transactions), nested reads and relation filters.
thx
i love prisma