I have two different collections: One is Twitter_accounts where i have the info about the accounts(name, language, url…) And in the other collection is tweets_Activity. I have in it 600 tweets per acount from the first collection. In this collection (tweets_Activity)I have a field named user in that field i have two fields that i want to export to the first collection(followers and following).
I tried using aggregation but it wont update in the first collection. And i dont know how to use the pipline efficiently
Could you post example documents from the two collections? What I understand is, you wanted to update the documents in the collection twitter_accounts using the information in the collection tweets_activity. Is this correct? Could you please post an example of the desired end result?