MCPcopy Index your code
hub / github.com/davispuh/MySQL-for-Python-3 / fetchoneDict

Method fetchoneDict

MySQLdb/cursors.py:481–487  ·  view source on GitHub ↗

Fetch a single row as a dictionary. Deprecated: Use fetchone() instead. Will be removed in 1.3.

(self)

Source from the content-addressed store, hash-verified

479 _fetch_type = 1
480
481 def fetchoneDict(self):
482 """Fetch a single row as a dictionary. Deprecated:
483 Use fetchone() instead. Will be removed in 1.3."""
484 from warnings import warn
485 warn("fetchoneDict() is non-standard and will be removed in 1.3",
486 DeprecationWarning, 2)
487 return self.fetchone()
488
489 def fetchmanyDict(self, size=None):
490 """Fetch several rows as a list of dictionaries. Deprecated:

Callers

nothing calls this directly

Calls 1

fetchoneMethod · 0.45

Tested by

no test coverage detected