mongodb how to project without aggreagate 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" } }
])