Is there any way to save an array of JSON object to a mongodb with only one call? something like:
schemeObject.save(array_of_json_object, ca
This works with mongoose as well
Laptop.insertMany(laptopData, function (err, laptop) { if (err) { console.log(err); }; console.log(laptop); });