Użytkownicy Prisma WitherOposts
const usersWithZeroPosts = await prisma.user.findMany({
where: {
posts: {
none: {},
},
},
})
Puzzled Puffin
const usersWithZeroPosts = await prisma.user.findMany({
where: {
posts: {
none: {},
},
},
})