Hey all, any idea why Prisma is adding an `order b...
# orm-help
c
Hey all, any idea why Prisma is adding an
order by id ASC
clause to this:
const answers = await prisma.answer.findMany({
take: 50,
where: {
questionId: questionId,
},
select: {
body: true,
response: {
select: {
year: true,
unit: {
select: {
id: true,
name: true,
},
},
},
},
},
})
(Edit: Please ignore this, as I am an idiot. Order is needed for the limit offset to work)
1