serby/save-mongodb — pull request #5 by OliverJAsh (2013-03-08 00:17:42+00:00)
Title: Convert query of #findOne() to have idProperty of type ObjectID

This allows you to find by ID in your application without first having
to convert your query to ObjectID:

Before:
userService.findOne({ _id: new ObjectID(user._id) }, function (err,
entity) {})

After:
userService.findOne({ _id: user._id }, function
(err, entity) {})