Nditah Samweld
03/27/2022, 7:58 AM[SOLVED]!
Please what's wrong with the Query?
Invalid `prisma.award.findMany()` invocation:
{
include: {
member: true,
organization: true
},
where: {
deleted: false,
member: 'cl0ebx5dy0424d6jxyfl14dsk'
~~~~~~~~~~~~~~~~~~~~~~~~~~~
},
orderBy: {
id: 'asc'
}
}
Nditah Samweld
03/27/2022, 8:09 AMmember
to memberId
which is the relationship field. ThanksNurul
03/28/2022, 7:23 AM