問題:
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?