db.collection.update({_id:xx}, {$push:{letters : {$each:['first one'], $position:0}}}). Source: stackoverflow.com. mongodb push to arry in update.
確定! 回上一頁