Ok my schema structure is:
"labTest" : [
{
"_id" : ObjectId("56eaab35b5f57f2c1b022b00"),
"test" : "Blood Test"
},
{
"_id" : ObjectId("56eaab35b5f57f2c1b022aff"),
"test" : "Urine Test"
},
{
"_id" : ObjectId("56eaab35b5f57f2c1b022afe"),
"test" : "ECG"
}
],
Now I have the id and test field to this schema, I just want to query and add a status field inside this schema and make it 1.
Any help will be very appreciated