I have document schema like below in my collection
{
......
Message :
{
Content : "E$XCV&*",
Vehicles : [
{
Status : "",
VehicleId : "veh1",
........
},
{
Status : "",
VehicleId : "veh2",
........
},
{
Status : "",
VehicleId : "veh1",
........
},
............
]
}
}
I need to update status for particular vehicle id.