Hey all! I’ve just created a database model for a ...
# orm-help
g
Hey all! I’ve just created a database model for a CRM app. Now I’d want to seed it with fake data with
faker
. As far as I understood
prisma seed
supports NDF files only for now. Since there’s no
createManyX
my idea was to create a script that runs
createX
multiple times but that’s way less than ideal. What’s common practice for seeding the DB with fake data out of a JS object using
faker
?
p
were you able to get this working? I'd like to switch to using an approach outlined in that forum thread but not going to switch to alpha channel.