MCPcopy Create free account
hub / github.com/PyMySQL/PyMySQL / __init__

Method __init__

pymysql/connections.py:1278–1292  ·  view source on GitHub ↗

:type connection: Connection

(self, connection)

Source from the content-addressed store, hash-verified

1276
1277class MySQLResult:
1278 def __init__(self, connection):
1279 """
1280 :type connection: Connection
1281 """
1282 self.connection = connection
1283 self.affected_rows = None
1284 self.insert_id = None
1285 self.server_status = None
1286 self.warning_count = 0
1287 self.message = None
1288 self.field_count = 0
1289 self.description = None
1290 self.rows = None
1291 self.has_next = None
1292 self.unbuffered_active = False
1293
1294 def __del__(self):
1295 if self.unbuffered_active:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected