[Zope] Summing ZSQL Column Values
Tue, 24 Jun 2003 11:29:03 -0500
> What is the most efficient method of iterating through ZSQL rows and
> displaying the sum of a specific column?
Why not use your DB to calculate the sum? My strategy is to let the DB
do as much work as possible. I figure, perhaps naively, that will
produce the best performance most of the time.
Twin Cities, Minnesota, USA
Science teacher, Linux fan, Zope developer, Grad. student, Daddy
mailto:email@example.com | http://qwerk.org/ | public key: 0x8C0F8813