has prisma remove the ability to run meta queries ...
# prisma-whats-new
j
has prisma remove the ability to run meta queries such as counts?
n
this has moved to the
xConnection.edges.aggregate.count
queries
j
this makes so much sense! I assumed a connection was for subscriptions
w
@jjaybrown98 Here is an example of where I want to get counts and some other data useful for pagination http://wes.io/pPLs
💡 1
I love the has next/prev booleans - I removed a bunch of logic and replaced with that
n
That's relay style pagination, called cursor based pagination 🙂 Apollo works well with it, too.
j
yes this just makes it so much easier for pagination