Hello,
the doc says that GAE does not support complex datetime query…
Could someone tell me if the following is expected to fail (where end_date
is a datetime):
db((db.auth_user.end_date.year() == end.year) &
(db.auth_user.end_date.month() == end.month) &
(db.auth_user.end_date.day() == end.day)).select()
Would it works with a date field :
db((db.auth_user.end_date == end.year)).select()
Where is the complexity limit on what is expected to work and what is
expected to not work.
Note that in the first case, I got an exception :
…
File "/web2py/gluon/packages/dal/pydal/adapters/google_adapters.py", line
286, in gaef name = first.name if first.name != 'id' else 'key'
AttributeError: 'Expression' object has no attribute 'name'
Thank you for any tip…
-Mathieu
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.