You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the function of execute_query() to insert the record to DB, can't get lastrowid.
And, the function of execute_query() use with context manager, so can't use same connection to execute conn.execute_query("SELECT LAST_INSERT_ID();") sentence to query the LAST_INSERT_ID().
The text was updated successfully, but these errors were encountered:
Donald-Su
pushed a commit
to Donald-Su/pymysql-pool
that referenced
this issue
Dec 20, 2022
Use the function of
execute_query()
to insert the record to DB, can't get lastrowid.And, the function of
execute_query()
use with context manager, so can't use same connection to executeconn.execute_query("SELECT LAST_INSERT_ID();")
sentence to query the LAST_INSERT_ID().The text was updated successfully, but these errors were encountered: