I am trying to update a nested document structure which looks similar to this:
{ k1 : v1,
k2 : [
{inner_k1: inner_v1,
inner_k2: [
]
}
]
}
What is the appropriate way to $set another field in the inner-most document, e.g. inner_inner_k3: inner_inner_v3?
Thanks.