sql insert query list of dictionaries

Solutions on MaxInterview for sql insert query list of dictionaries by the best coders in the world

showing results for - "sql insert query list of dictionaries"
Mila
08 Aug 2019
1cursor.executemany("""
2    INSERT INTO 
3        mytable
4        (id, price, type)
5    VALUES
6        (%(id)s, %(price)s, %(type)s)
7""", lst)
8