skip to Main Content

Update more than one inner document in MongoDb

In my example project, I have employees under manager. Db schema is like this; { "employees": [ { "name": "Adam", "_id": "5ea36b27d7ae560845afb88e", "bananas": "allowed" }, { "name": "Smith", "_id": "5ea36b27d7ae560845afb88f", "bananas": "not-allowed" }, { "name": "John", "_id": "5ea36b27d7ae560845afb88g", "bananas": "not-allowed"…

VIEW QUESTION
Back To Top
Search