christkv/node-mongodb-native — Issue #518: document: save callback arguments are both undefined
Author: craftgear
Created: 2012-02-23 14:14:59+00:00
State: open

This page says
(https://github.com/christkv/node-mongodb-native/blob/master/docs/insert.md )

```
callback gets two parameters - an error object (if an error occured) and the record if it was inserted or 1 if the record was updated.
```

but when you update data with save method, callback receive (undefind, undefined),
I think it's better to receive (null, 1) or (null, updated_data).

Take a look at it.

Thanks.