MongoDB/Aggregation

MongoDB 에서 Join 처리

jungtae17 2015. 12. 18. 15:27

MongoDB 3.2 에서 추가된 $lookup (aggregation) 오퍼레이터를 사용해서 Join 처리를 할 수 있게 됨.


참고1> https://www.mongodb.com/blog/post/joins-and-other-aggregation-enhancements-coming-in-mongodb-3-2-part-1-of-3-introduction


참고2> https://docs.mongodb.org/manual/reference/operator/aggregation/lookup/#pipe._S_lookup