skip to Main Content

Load a single data from a document in mongoDB

How can I find only the "hotels" property? Data in MongoDB- [ { "picture": "https://d.bcb.ic/dKkqr2da/lalkhal.jpg", "name": "Lalakhal", "about": "Lalakhal is....", "latitude": 25.1048, "longitude": 92.1770, "hotels": [{}, {}, {}] }, { "picture": "https://d.bcb.ic/dKkqr2da/lalkhal.jpg", "name": "Lalakhal", "about": "Lalakhal is....", "latitude": 25.1048, "longitude":…

VIEW QUESTION
Back To Top
Search