Home » Database » DB_DataObject » Bug #2788
sort order ascending/descending
Details
| Request #2788 | sort order ascending/descending |
|---|---|
| Submitted | 2004-11-18 20:23 UTC |
| From | mi dot te at gmx dot de |
| Status | Wont fix |
| Package | DB_DataObject |
| PHP Version | Irrelevant |
| OS | all |
| Roadmaps | (Not assigned) |
Comments
[2004-11-18 20:23 UTC] mi dot te at gmx dot de
Description:
------------
It would be really helpful if one could specify the sort order when using the orderBy()-function.
Most confortable would be something like this (like whereAdd):
$person->orderBy('age','DESC');
or
$person->orderBy('eye','ASC');
Thanks a lot
Michael
[2004-11-19 23:05 UTC] mi dot te at gmx dot de
Duh! Now you write it, it makes perfect sense...
Please be so kind to mention it also in the documentation.
Thanks a lot for your help
Michael