Home | Trees | Index | Help |
---|
Module SQL :: Class SQL |
|
CC SQL Database methods.'''
Z SQL Methods that share a cache across threads of a Zope server, allowing the cache to be cleared for all threads.Method Summary | |
---|---|
Request that the cache be flushed. | |
Flush just this entry from the cache. | |
Public wrapper for cache. | |
Change database method properties |
Class Variable Summary | |
---|---|
tuple |
__ac_permissions__ = (('Use Database Methods', ('flushCa...
|
str |
meta_type = 'CC SQL Method'
|
Method Details |
---|
flushCache(self)Request that the cache be flushed. Mark our internal _flushCache attr and perform the flush. Other ZEO clients, if any, will see the marked-up ._flushCache and flush their cache when they first try to use it. |
flushCacheEntry(self, REQUEST=None, **kw)Flush just this entry from the cache. :Parameters: - `**kw`: Same parameters you pass to the SQLMethod - `REQUEST`: Current REQUEST. Needed in case SQLMethod looks in REQUEST to render itself. :Warn: This does not work across ZEO clients. Only the client that this is called in will flush this cache entry. You have been warned. |
getCache(self)Public wrapper for cache. Checks to see if it needs to be flushed. |
manage_edit(self, title, connection_id, arguments, template, SUBMIT='Change', sql_pref__cols='50', sql_pref__rows='20', REQUEST=None)Change database method properties :Parameters:
|
Class Variable Details |
---|
__ac_permissions__
|
meta_type
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Fri Jan 16 00:08:27 2004 | http://epydoc.sf.net |