I have a python code that will do a bulk insert into a table. If my table already contains the same data, I will get integrity error. How to check all the rows and whatever the rows are getting I need to update those as a bulk update.
i.e., In MySql we have a query Insert into ... IF exists Update... (Similar query). So I want to use that as a bulk insert in SQLAlchemy. Can anyone help me?