Update nested array document
say i have this model { _id : 1, ref: '1', children: [ { ref:'1.1', grandchildren: [ { ref:'1.1.1', visible: true; } ] } ] } I'm aware that positional operator for nested arrays isn't available yet. https://jira.mongodb.org/browse/SERVER-831 but wondered whether its possible to atomically update the document in the nested array? In my example, i'd like to update the visible flag to false for the document for ref 1.1.1. I have the children record ref == '1.1' and the grandchildrenref == '1.1.1' thanks Yes, this is possible only if you knew the index of the children array that has the