On 22 jun, 20:27, mdipierro <[email protected]> wrote: > Not possible. You can only do > > query=(db.my_table.start_date>=current_date - datetime.timedelta > (days=30) ) > > the left hand side of a "left op right" query has to be a field, not > an expression. The right hand side can be an expression but you cannot > mix python functions and sql functions. > > Massimo >
Thank you. Did you think of supporting this? Jose --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

