MongoDB:將來自多個集合的數據合併爲一個......如何? - MongoDB: Combine data from multiple collections into one..how?

問題:

How can I (in MongoDB) combine data from multiple collections into one collection?我如何(在 MongoDB 中)將來自多個集合的數據合併到一個集合中?

Can I use map-reduce and if so then how?我可以使用 map-reduce 嗎?如果可以,那麼如何使用?

I would greatly appreciate some example as I am a novice.由於我是新手,我將不勝感激一些示例。


解決方案:

參考一: https://stackoom.com/question/Nq6l
參考二: MongoDB: Combine data from multiple collections into one..how?
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章