This thread

http://groups.google.com/group/google-appengine-python/browse_thread/thread/ceebac3397625019#

raises an interesting issue and proposes an interesting solution that
works on GAE.

Executive summary: In GAE you can define computed fields that are
computed now when data is extracted but when data is stored and the
computed fields are stored too. Why? Because you can use them to
perform operation that would otherwise not be supported on GAE.

It would be trivial to support this in web2py and make it cross-db.
Basically all we need is a new field attribute that points to a
function that computes the value of a field based on the values of the
other fields. We already have this db.table.field.update and it can be
a function.

I think the new DAL should support this.

Massimo

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@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.


Reply via email to