2015-08-18

MongoDB - Array push (insert, add) a value into an array type of field

db.COLLECTION_NAME.update( {FILTER_HERE}, { $push:{FIELD_NAME_WITH_ARRAY: VALUE_HERE } } );