Re: [SQLObject] orderBy table.q.attribute
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: Oleg B. <ph...@ph...> - 2004-04-23 16:46:33
|
On Fri, Apr 23, 2004 at 11:18:15AM -0500, Ian Bicking wrote:
> "-registrationTime"? Both should work, but maybe they don't.
Traceback (most recent call last):
[snip]
File "/usr/local/lib/python2.3/site-packages/SQLObject/DBConnection.py", line 168, in _iterSelect
cursor.execute(query)
ProgrammingError: ERROR: Non-integer constant in ORDER BY
SELECT ... ORDER BY 'registrationTime' DESC
Both does not. DB is Postgres.
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ ph...@ph...
Programmers don't die, they just GOSUB without RETURN.
|