I have a document like that :
{
_id: ".....",
messages: [
{
....
votes: 2
},
{
....
votes: 2
}
]
}
I would like to increment ALL votes field in the array in the same request.
How to do that ? The $ operator select only the first element.
Thank you !