balderdashy/sails-mysql — pull request #50 by eliasjpr (2013-10-24 17:06:27+00:00)
Title: Use model primary key field

Hey here is the pull request. If there is no attribute with primaryKey: true defined in the model it will default to 'id'.

Glad to contribute to this project :)