Considering this document :
{
"_id" : ObjectId("54d0a5cdc9311cad167f55d5"),
"Title" : "Add Solaris Zone",
"Type" : "System",
"Tasks" : [
{
"TaskName" : "Ask for an IP",
"TaskDescription" : "Ask to network team for an ip adress",
"Custom" : [
{
"id" : ObjectId("54d0a5cdc9311cad167f55d3"),
"name" : "ip",
"value" : ""
},
{
"id" : ObjectId("54d0a5cdc9311cad167f55d4"),
"name" : "vlan",
"value" : ""
}
],
"Prerequisites" : [ ]
}
}
Is it possible to update the property "value" of, let's say field ip, for task where taksname = "Ask for an IP" ?
I'm able to update properties one level higher (like TaskName) but what if the embedded document contains an array of embedded documents ?