skip to Main Content

Update multiple element with single MongoDB query

This is the data, { "categories": [ { "categoryId": "6492acddeea12078cfcd82d5", "status": 'ACTIVE' }, { "categoryId": "64993726f5ac84a75d773c54", "status": 'INACTIVE' }, { "categoryId": "64993cd88af1246627d1cf96", "status": 'ACTIVE' }, { "categoryId": "64993726f5ac84a75d773c84", "status": 'INACTIVE' }, { "categoryId": "64993cd88af1246627d1cf66", "status": 'ACTIVE' } ] } I…

VIEW QUESTION
Back To Top
Search