【Prisma】 データをupdateしたとき、関連するテーブルも同時にupdateまたはupsertする 2023-03-17 あるデータをupdateで更新するのと一緒に、それと関連するデータ(中間テーブルにあるデータ)も更新したい場合、どのようにPrismaを書けば良いのでしょうか? この記事では、中間テーブルのデータも一緒にupdateする方法を考えます。
【Prisma】 データをupdateしたとき、関連するテーブルも同時にupdateまたはupsertする 2023-03-17 あるデータをupdateで更新するのと一緒に、それと関連するデータ(中間テーブルにあるデータ)も更新したい場合、どのようにPrismaを書けば良いのでしょうか? この記事では、中間テーブルのデータも一緒にupdateする方法を考えます。