yes a_sum_b=db.mytable.a+db.mytable.b a_div_b=db.mytable.a/db.mytable.b
rows = db().select(a_add_b,a_div_b) for row in rows: print row._extra[a_sum_b], row._extra[a_div_b] does not work on GAE. Massimo On Jun 19, 11:33 am, "Sebastian E. Ovide" <[email protected]> wrote: > Is it possible to do > > select a+b, a/b, 123 from mytable > > without using db.executesql ? > > thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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 -~----------~----~----~----~------~----~------~--~---

