strongloop/loopback-datasource-juggler — pull request #108 by raymondfeng (2014-05-08 22:51:59+00:00)
Title: Feature/fix mongo upsert

/to @ritch

The PR fixes two issues encountered by the mongodb connector:

1. updateOrCreate incorrectly removed properties if the 'data' contains undefined values
2. id such as '123' was converted to number if the id type is ObjectID

The test case will be from a separate PR.