How to do createMany or a transaction where I can create many records? #123
Answered
by
MichalLytek
PhilAndrew
asked this question in
Q&A
-
I need to import 1 million records into my database. I would like a createMany function or the ability to do a long transaction. To work-around this issue I had to use a different library other than this and Prisma.
Can anyone suggest how to do with this? |
Beta Was this translation helpful? Give feedback.
Answered by
MichalLytek
Jun 9, 2021
Replies: 1 comment 3 replies
-
I think |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
MichalLytek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think
createMany
is supported since Prisma 2.20 🤔