I am trying to insert documents into multiple collections by writing single query.
Let consider that I have two collections person and address. I want insert documents to both of this collections in single query. That is documents which are like fname,lname should be inserted inside pesron collection and documents which are like city,state,country should be inserted to address collections.
Is there any I can make this happen, If it is possible providing any answer with example will be appreciated.