[Zope] Invalidating a ZSQL cache

Dieter Maurer dieter at handshake.de
Wed Feb 25 16:06:54 EST 2004


Kevin Carlson wrote at 2004-2-24 15:26 -0500:
>I have a situation where I would like to configure a ZSql query to keep 
>itself cached, but occasionally have the need to invalidate the cached 
>object and force the next result set to come from the database.  I have 
>looked at the Da.py code and it looks like it would be possible to 
>bypass the cache with a simple code modification, but that won't give me 
>what I need entirely.

When you do not use ZEO, then my "CCZSQLMethods" may help you:

  <http://www.dieter.handshake.de/pyprojects/zope>


-- 
Dieter



More information about the Zope mailing list