MCPcopy Index your code
hub / github.com/PyMySQL/PyMySQL / fetchone

Method fetchone

pymysql/cursors.py:442–450  ·  view source on GitHub ↗

Fetch next row.

(self)

Source from the content-addressed store, hash-verified

440 return self._conv_row(self._result._read_rowdata_packet_unbuffered())
441
442 def fetchone(self):
443 """Fetch next row."""
444 self._check_executed()
445 row = self.read_next()
446 if row is None:
447 self.warning_count = self._result.warning_count
448 return None
449 self.rownumber += 1
450 return row
451
452 def fetchall(self):
453 """

Callers

nothing calls this directly

Calls 2

read_nextMethod · 0.95
_check_executedMethod · 0.80

Tested by

no test coverage detected