How does everyone handle seed data? and doing lots...
# orm-help
t
How does everyone handle seed data? and doing lots of prisma calls, often in a loop.
o
Honestly not sure if there’s a way to really handle it prisma. If it’s OK for your data to be all the same then you can make one query and repeat that with a simple for loop, you mentioned that it is seed dada . Or, you could put your C data initially as Json or a CSV . And read it and loop through it and generate the query.
t
Yea that's OK. Not really looking for prisma to handle this. Mostly looking for best practices with node