Franco Roura
06/28/2022, 6:23 PMprisma.model.findFirst({
where: {
something,
},
orderBy: {
updatedAt: 'desc',
},
})
Will it sort before or after the limit clause?
I mean, will it bring me the last updated record? Or just the first thing it finds?Chris Tsongas
06/28/2022, 8:15 PMFranco Roura
06/28/2022, 8:43 PM