@Massimo

Couldn't the GAE class be overloaded with another datetime class that does
include the code to translate the normal method call i.e.
db(db.mydatefield.year()==1999).select()

So the added on class includes a new method for year() but runs code that
translates the 1999 into the code that you specified i.e.
db((db.mydatefield>datetime.date(1998,12,31))?(db.mytabefield<datetime.date(2000,1,1))).select()

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to