I am using groupBy in sailsJs Waterline Query Language but getting error.
Error :- "AdapterError: Cannot groupBy without a calculation"
Code :-
var options = {
groupBy: ['name']
};
Model.find(options)
.then(function (rows) {
......
}
via Sanjeev
No comments:
Post a Comment