[Checkins] SVN: Products.SQLAlchemyDA/trunk/ removed mapper related functionalities

Andreas Jung andreas at andreas-jung.com
Sat Jun 9 02:14:52 EDT 2007


Log message for revision 76529:
  removed mapper related functionalities
  

Changed:
  U   Products.SQLAlchemyDA/trunk/CHANGES.txt
  U   Products.SQLAlchemyDA/trunk/da.py

-=-
Modified: Products.SQLAlchemyDA/trunk/CHANGES.txt
===================================================================
--- Products.SQLAlchemyDA/trunk/CHANGES.txt	2007-06-09 06:13:09 UTC (rev 76528)
+++ Products.SQLAlchemyDA/trunk/CHANGES.txt	2007-06-09 06:14:51 UTC (rev 76529)
@@ -20,6 +20,9 @@
 
     - improved support for Oracle and MySQL
 
+    - SQLAlchemyDA no longer provides access to mapper related functionalities.
+      It now acts as a DA for executing SQL statements *only*.
+
 0.2.1 (06.05.2007)
 
     - connections can be closed/opened through the ZMI

Modified: Products.SQLAlchemyDA/trunk/da.py
===================================================================
--- Products.SQLAlchemyDA/trunk/da.py	2007-06-09 06:13:09 UTC (rev 76528)
+++ Products.SQLAlchemyDA/trunk/da.py	2007-06-09 06:14:51 UTC (rev 76529)
@@ -96,24 +96,6 @@
         return None
 
 
-    security.declareProtected(view, 'getMapper')
-    def getMapper(self, name):
-        """ return a mapper class """
-        return self._wrapper.getMapper(name)
-
-
-    security.declareProtected(view, 'getMappers')
-    def getMappers(self, *names):
-        """ return a mapper class """
-        return self._wrapper.getMappers(*names)
-
-
-    security.declareProtected(view, 'getSession')
-    def getSession(self):
-        """ return a session instance """
-        return self._wrapper.session
-        
-
     security.declareProtected(view_management_screens, 'getInfo')
     def getInfo(self):
         """ return a dict with additional information """



More information about the Checkins mailing list