christkv/node-mongodb-native — Issue #388: Update & Insert callback inconsistency
Author: scriby
Created: 2011-11-02 07:44:50+00:00
State: open

Collection.update returns the number of items updated as the 2nd arg, and collection.insert returns the documents inserted as the 2nd arg. It would be nice if both callbacks were consistent, and if there was a way to get the number of items inserted from the insert callback.

Thanks,

Chris