If you are using cache.ram
cache.ram(db._uri+'/'+db(....)._select(....),None,0)
Will invalidate the result of db(....).select(....) without executing
the select.
notice the _select(...) instead of select(...). Does not work on GAE.
Massimo
On Dec 2, 12:15 pm, achipa <[EMAIL PROTECTED]> wrote:
> Is it possible to invalidate a select cache ? For example if I know
> that I'm about to update a table I would like to invalidate the cache
> that pertains to that table so that other controller functions can
> update the cache and not work with stale data.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---