I want to add several items to arrays of several rows in Mongo. How can I do this?
I want to start with this:
{\'x\': \'h\', arr: [1,2,3] } {\'x\':
I think what you are looking for is the $pushAll operator. Take a look here:
http://docs.mongodb.org/manual/reference/operator/pushAll/#pushall