Prisma2mo ago

Getting total count of records with one Query

Is it possible to get a _count of all records when doing a .findMany() query, without having to do a second .count() query? I know it works for relationships, but I dont know how it works for simple queries.
0 Replies
No replies yetBe the first to reply to this messageJoin