Hi, If I have this query....
db().select(db.test.date,db. test.url,db.test.hits.sum(), db.test.rev.sum(), groupby= db.test.datel) What is the name of the hits field? In SQL I would do sum(hits) as sum_hits and sum(rev) as sum_rev E.G. for i in results: print i.sum_hits, i.sum_rev I see from the docs in manual I bought is a _extra filed but not clear how to use it. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

