strongloop/loopback-connector-mysql — pull request #25 by sra (2014-04-16 20:40:05+00:00)
Title: updateOrCreate assumes numeric primary key(s)

I removed the check to see if a property is an ID field while building the
values clause to allow it to work if primary key(s) are strings.

This is easily tested by creating a table + model with a string primary key and use the create
endpoint in the explorer, then copy the same JSON object into the createOrUpdate PUT
request to see it fail before the change. The generated SQL is wrong (values not escaped).