customer_id
name
concatination
db.customer.aggregate( { "$unionWith": { "coll": "parent_child", "pipeline": [ { "$project": { "child_id":"$CUSTOMER_CHILD_ID", "parent_id":"$CUSTOMER_PARENT_ID" } } ] } }, { "$project":{ "customer_id":"$CUSTOMER_ID", "name":"$NAME", "concatination":{"$concat":["$CLASS","$COMPANY_CODE"]} } } )
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)