marcello3d/node-mongolian — Issue #88: findAndModify override the entire row
Author: norman784
Created: 2012-03-01 21:43:24+00:00
State: open

Im trying just to update a row, but when I "update" it get replaced by the new object and not just update the fields that i want

```javascript
campaing.findAndModify({
query: {
id : req.params['id']
},
update: {
subject: req.param('subject'),
from: req.param('from'),
reply_to: req.param('from'),
body: req.param('body')
},
new: true
}, function(err, data){
//
})
```
The document has more than this 4 cols, but when I update only those 4 remain, the other seems to be deleted!