alias concept for result field in aggregate mangodb code example
Example: mongodb project all fields
db.collection.aggregate([
{ "$addFields": { "custom_field": "$obj.obj_field1" } }
])
db.collection.aggregate([
{ "$addFields": { "custom_field": "$obj.obj_field1" } }
])