skip to Main Content

Mongodb – Update array specific items

I want only items in list entityParameters will update in x.Params by Id , update all items of entityParameters if entityParameters.Id == x.Params.Id List<Param> entityParameters filter = Builders<MachineObj>.Filter.Where(x => x.MachineId == id); update = Builders<MachineObj>.Update .Set(x => x.Params, entityParameters);

VIEW QUESTION
Back To Top
Search