Re: [SQLObject] Examples of using 'func'
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: Magnus <ma...@th...> - 2003-06-20 01:00:24
|
At 16:50 2003-06-19 -0700, Martin Stoufer wrote: >Thats what it was looking like from my failed attempts. Since the date >field comes back with each of the records, I just iterate over the python >objects and extract the max date there. After all, SQLObject is there to access instances of classes (i.e. rows of tables). Nothing stops you from getting aggregated data though another channel such as the DB-API. If you aggregate over a large set of rows it should be much better from a performance point of view to do the aggregate in the database rather than in Python. -- Magnus Lycka (It's really Lyckå), ma...@th... Thinkware AB, Sweden, www.thinkware.se I code Python ~ The Agile Programming Language |