Ask a Question
Advertise on boostr.in
pythonmysql bulk insert using -'python,mysql'
pythonmysql bulk insert ¬†using -'python,mysql'
I'm working with the MySQLdb module in Python to interact with a database. I have a situation where there is a very large list (tens of thousands of elements) which I need to insert as rows into a table.
My solution right now is to generate a large INSERT statement as a string and execute it.
Is there a smarter way?
Sep 7, 2015
to add a comment.
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please