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" <sebastian.ov...@gmail.com> 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 web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---