balderdashy/sails-mysql — pull request #18 by code-vicar (2013-05-23 21:45:57+00:00)
Title: Correcting an issue with the expected results of a call to update

The sails framework is expecting an array of models to be returned after a call to the update method. See https://github.com/balderdashy/sails/issues/408.
I've updated the "update" method to call the "find" method after a successful update. it passes the same collectionName and options to the find method in order to return the updated models.
Tested it locally and its working here.