I have to drop all my collections before insert data into DB. I achieve this by doing:
mongodb.connect( url, function (err, client) { if (err) throw err