pyexcel.Sheet.save_to_database

Sheet.save_to_database(session, table, initializer=None, mapdict=None, auto_commit=True)

Save data in sheet to database table

Parameters:
  • session – database session

  • table – a database table

  • initializer – a initialization functions for your table

  • mapdict – custom map dictionary for your data columns

  • auto_commit – by default, data is auto committed.