PrismaP
Prisma17mo ago
1 reply
shado

Bulk relations

I have a Property entity that has a photos relationship (1:many). I am trying to bulk insert 100 properties, and then relate their photos in bulk as well. Is this possible with prisma/sql? Or do I need to loop over the properties after and do it 1 by 1?
Was this page helpful?