Join Slack
Powered by
How are we doing an inner join with Prisma ? cons...
# orm-help
p
phil2srass
04/14/2022, 7:46 AM
How are we doing an inner join with Prisma ? const list: any = await prisma.operateur_forfait.findMany({ include: { operateur_france_tarif: { select: { id: true, }, where: { vers: parseInt(lieuId), }, }, operateur: true, }, });
n
Nurul
04/20/2022, 12:08 PM
Hey 👋 To remove the records which has no data in operateur_france_tarif you can add
not
null condition to the where clause.
599
Views
Open in Slack
Previous
Next