Categories
MongoDB

InsertMany in MongoDB via file

while studying for mongoDb certification I got a dataset file from the instructor. I had to fill my database with the data provided in that file. I already had the database created and the data which was there in the file was to be contained in a collection.