strongloop/loopback-datasource-juggler — pull request #305 by Valko54 (2014-09-18 13:00:20+00:00)
Title: Fix bug : add validators to upsert/updateOrCreate an object

Hi,

After studying the updateOrCreate function and loopback-connector-mongodb, it is possible to directly use updateAttributes without check this.getDataSource().connector, because updateAttributes use _adapter(), which use the good connector.

The base behavior is preserved and checks the validators when updated.