Re: [SQLObject] orderBy table.q.attribute
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: Ian B. <ia...@co...> - 2004-04-23 17:41:59
|
Oleg Broytmann wrote: > On Fri, Apr 23, 2004 at 12:04:07PM -0500, Ian Bicking wrote: > >>Ah... I found the bug, in _mungeOrderBy; which should look like: > > > Aha, now it is much better. orderBy="-registration_time" now works! > Thank you. > > orderBy=-Patient.q.registrationTime still does not work, though with > a different error: If you are using that, you should use sqlbuilder.DESC(Patient.q.registrationTime) |