Re: [SQLObject] order by sum and group by
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ma...> - 2006-08-05 17:57:39
|
On Sat, Aug 05, 2006 at 01:44:55PM -0400, Sean McBride wrote: > What, you think I'm crazy? ;) I very much hope you are! Because to dive deep into SQLObject code and successfully write a major patch one must really be crazy! ;) > Actually, you don't need to declare the extra columns in the Item class, > since they're only around over the course of this select query. Include > the extraColumns argument on the select and the resulting SelectResults > lazy iterator would spit out (SQLObjectInstance, extraColumnsDict) > tuples instead of just SQLObject instances. Well, that sounds pretty reasonable! Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |