aggregation 처리 중 이전 stage 에서 나온 결과(배열A, 배열B)에서 배열A와 배열B를 합쳐서 새로운 배열을 만들어야 할 때 $concatArrays (aggregation) 오퍼레이터를 사용.


참고> https://docs.mongodb.org/manual/reference/operator/aggregation/concatArrays/


Posted by jungtae17
,