How are we doing an inner join with Prisma ? cons...
# orm-help
p
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
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