Join Slack
Powered by
What's the preferred method to create multiple ent...
# orm-help
j
Jonathan Romano
09/09/2020, 4:55 PM
What's the preferred method to create multiple entities at once in Prisma2? Just call
create
multiple times in a
Promise.all?
r
Ryan
09/10/2020, 7:18 AM
You could do that and also a batch insert raw query if you prefer those. There’s also an open request that you can follow
here
.
j
JunquerGJ
09/10/2020, 8:43 AM
I am using
connectOrCreate
to do something similar
4
Views
Open in Slack
Previous
Next