This is my database schema:
Is it possible? Because I want to prevent duplication of data.
Can I retrieve the data from the sponsor collection and bring it to tournaments subcollection?
Yes, you can. How can you achieve that? Simply by iterating through the sponsor
top-level collection for getting all documents, and then writing them into the new location.
I want to prevent duplication of data.
If you don't want to have the same data in both locations, after adding all documents to the new location, you can then delete the documents from the old location. However, duplicating data is quite normal in the NoSQL world. For that, I recommend you see my answer in the following post: