Hi all! Could anybody tell me, why Prisma doesn't ...
# orm-help
v
Hi all! Could anybody tell me, why Prisma doesn't support property totalCount for pagination (as like this https://graphql.org/learn/pagination/#complete-connection-model)?
w
it's
aggregate.count
from Connections.
v
Thnx! Should I perform 1 extra request to get the total count of records (without first, last, skip parameters)?
w
i think
aggregate.count
returns full total, im not sure
v
unfortunately not 😞 if the param "first" is specified in the query, it'll be equal to it
w
interesting, maybe its'a a bug