My mongoDB schema as below .
"interpretationlist": [
{
"interpretations": [
{
"id": "1",
"value": "value1"
},
{
"id": "2",
"value": "value2"
}
]
},
{
"interpretations": [
{
"id": "3",
"value": "value3"
}
]
}
]
and I want to search interpretation
whose id
is 1
and update its value.
How can I do this.
no idea how can I do this.