Tyler Bell
11/03/2021, 3:48 AMPlease note that it is not possible at the moment to have a null-cursor, or a cursor and orderBy combination that not stable (unique).
In my case, the cursor is not null, so assuming it’s from “a cursor and orderBy combination”
My query is…
prisma.member.count({
where: {
app: { id }
},
orderBy: {
createdAt: "desc"
},
cursor: {
id: after_cursor
}
})