[z3-checkins] r6874 - z3/sqlos/trunk/interfaces

dreamcatcher at codespeak.net dreamcatcher at codespeak.net
Fri Oct 8 19:13:17 MEST 2004


Author: dreamcatcher
Date: Fri Oct  8 19:13:09 2004
New Revision: 6874

Modified:
   z3/sqlos/trunk/interfaces/__init__.py
Log:
expire and sync were not part of the ISQLObject interface.

Modified: z3/sqlos/trunk/interfaces/__init__.py
==============================================================================
--- z3/sqlos/trunk/interfaces/__init__.py	(original)
+++ z3/sqlos/trunk/interfaces/__init__.py	Fri Oct  8 19:13:09 2004
@@ -260,7 +260,17 @@
         """
 
     def syncUpdate():
-        ''' '''
+        """ Submit changes to the database
+        """
+
+    def sync():
+        """ If there are pending changes, submit them to the database,
+        and after that re-sync the object with the database.
+        """
+
+    def expire():
+        """ Expire the object, clearing the cache for the current connection.
+        """
 
 class ICacheSet(Interface):
 


More information about the z3-checkins mailing list