skip to Main Content

Update array object mongoDB

I have an array of objects and would like to update the count of the object where categoryId = "menu2" and subCategoryId = "1". in my mongodb i currently have two records in the array: { "_id": "xyz", "badges": [{…

VIEW QUESTION
Back To Top
Search