Is using prisma findFirst() faster than findMany() then getting the first item in the returned array?
In the Prisma ORM, is there any performance difference between doing this:
const users = await prisma.users.findMany();
return users[0]
And that:
return await prisma.users.findFirst();
I need to choose the best option for single resource queries in my API.