Closed dhotson closed 11 years ago
Oops, forgot to commit test cases. One minute..
Have you seen the work that @bjornpost did in #26?
Think this is a simple and straight-forward solution for the moment.
Some examples of usage:
Adding GROUP BY
and ORDER BY
clauses to queries:
$query = new \Pheasant\Query\Query();
$query->select('*')->from('blah')->groupBy('blahid')->orderBy('blahid desc');
Ordering Collections:
Blah::find()->orderBy('timecreated asc')
Also, added support for ORDER BY in collections.