strongloop/loopback-connector-mysql — pull request #44 by faceleg (2014-07-24 11:36:21+00:00)
Title: Added GROUP BY

Copied methodology from your `ORDER BY` function.

### Usage:

```JavaScript
Model.find({
groupBy: ['column_1', 'column_2']
}, function(models) { });

Model.find({
groupBy: 'column_1'
}, function(models) { });
```