I have a really long list of tuples that I want to insert into a database (db type is irrelevant for the question). I have to call a db function with all values from one day