Check the record already exists in MongoDB?

hey @harshil1712

I found the solution here Loop through MySQL Results