skip to Main Content

Mongodb – Change element name from the result set of Mongo DB Query

I have collection like below named as "FormData", { "_id": ObjectId("5e3c27bf1ef77236945ef07b"), "eed12747-0923-4290-b09c-5a05107f5609": "20200206", "bd637691-782d-4cfd-8624-feeedfe11b3e": "[email protected]" } I have another collection named as "Form" which will have Title of Fields, { "_id": ObjectId("5e3c27bf1ef77236945ef07b"), "Fields":[ { "FieldID": "eed12747-0923-4290-b09c-5a05107f5609", "Title": "Phone" }, {…

VIEW QUESTION
Back To Top
Search