dbapi.py
branchstable
changeset 5429 5ca1f8fe8a42
parent 5426 0d4853a6e5ee
child 5473 ee87c5352e63
child 5500 55a40cc0ab9a
--- a/dbapi.py	Wed Apr 28 12:24:20 2010 +0200
+++ b/dbapi.py	Wed Apr 28 15:42:10 2010 +0200
@@ -677,10 +677,11 @@
         self._repo.rollback(self.sessionid)
 
     def cursor(self, req=None):
-        """Return a new Cursor Object using the connection.  If the database
-        does not provide a direct cursor concept, the module will have to
-        emulate cursors using other means to the extent needed by this
-        specification.
+        """Return a new Cursor Object using the connection.
+
+        On pyro connection, you should get cursor after calling if
+        load_appobjects method if desired (which you should call if you intend
+        to use ORM abilities).
         """
         if self._closed is not None:
             raise ProgrammingError('Can\'t get cursor on closed connection')