Blue Nebula
03/28/2022, 8:47 AMprisma.table.upsert({
where:{...},
update:data,
create:data
});
to add something to a table with an unique column, overwriting the row with the same unique value if it already exists?Nurul
03/28/2022, 11:23 AMBlue Nebula
03/28/2022, 4:16 PMNurul
03/29/2022, 11:56 AM