DEV Community

Discussion on: Seeding Mongo with Realistic Records using Faker

Collapse
tiffany profile image
Tiffany White • Edited

Why do we need the MongoClient method here? Where does that come from? Is there a package.json file somewhere you can share?

Also what does lodash give you here? Isn't it just a functional programming library?

Collapse
jheffmancera profile image
jeferandom • Edited

random selection of an existing item previously pushed to the an array