In pandas, I would like to get the SQL command that is run when something like df.to_sql('table', connection, if_exists='append', method='multi') is run in python.
Meaning the output would look like 'INSERT INTO table (...) VALUES (...)'. Is this possible?