vendredi 17 avril 2015

Insert a group of documents in MongoDB filtered by their existence

My collection already has some documents, and I want to insert a group of new documents which contains both some has been existed in this collection and new ones.


I'm using the nodejs driver api, does it provide an api and option to fulfill this job or I should find the excited ones and filter them, then do the insertion?


Aucun commentaire:

Enregistrer un commentaire