collection.update({
"name": name,
"time.day": day,
"title": title
}, {
$push: {"comments": comment}
} , function (err, result) {
mongodb.close();
callback(null);
});
这样插不入,是不是要用findAndModify