insertpne vs create in mongodb
for (let i = 0; i < data.length; i++) {
const dbData = await db.contact.findOne({ email: data[i].email });
if (!dbData) {
const inseredData = await db.contact.create(data[i]);
console.log(inseredData)
}
}