Exemplo 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)
Exemplo n.º 2
0
 def cursor(self):
     return IterableCursor(self.cnx.cursor(), self.log)
Exemplo n.º 3
0
 def cursor(self):
     return IterableCursor(MySQLUnicodeCursor(self.cnx), self.log)