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

Method insert_id

pymysql/connections.py:861–865  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

859 return result.affected_rows
860
861 def insert_id(self):
862 if self._result:
863 return self._result.insert_id
864 else:
865 return 0
866
867 def _execute_command(self, command, sql):
868 """

Callers 1

test_issue_66Method · 0.80

Calls

no outgoing calls

Tested by 1

test_issue_66Method · 0.64