Esempio n. 1
0
 def cursor(self):
     cursor = self.cnx.cursor((PyFormatCursor, EagerCursor)[self._eager])
     self._active_cursors[cursor] = True
     cursor.cnx = self
     return IterableCursor(cursor, self.log)
Esempio n. 2
0
 def cursor(self):
     return IterableCursor(self.cnx.cursor(), self.log)
Esempio n. 3
0
 def cursor(self):
     return IterableCursor(MySQLUnicodeCursor(self.cnx), self.log)