github.com/scraniel/migrate@v0.0.0-20230320185700-339088f36cee/database/mongodb/examples/migrations/004_replace_field_value_from_another_field.up.json (about) 1 [ 2 { 3 "aggregate": "users", 4 "pipeline": [ 5 { 6 "$project": { 7 "_id": 1, 8 "firstname": 1, 9 "lastname": 1, 10 "username": 1, 11 "password": 1, 12 "email": 1, 13 "active": 1, 14 "fullname": { "$concat": ["$firstname", " ", "$lastname"] } 15 } 16 }, 17 { 18 "$out": "users" 19 } 20 ], 21 "cursor": {} 22 } 23 ]