I know that you can add array items to a MongoDB document by doing something like:
db.mycollection.update( {"id":"asd"}, {"$pushAll" : {array_name: [1, 2, 3]}} )
How can you do this with Datanucleus? I've looked through the documentation and searched around, but haven't been able to find out if Datanucleus supports it.
Currently I'm pulling the whole document out, adding the item, then re-adding the whole document to MongoDB.