New to sqlite and having trouble with the syntax.
I need to iterate through each key of a dictionary and insert dict[key] into the column with the same name as the dictionary key. If it makes any difference, dict['Url'] contains the primary key, and all the rows are already created.
So far I think I've witnessed every possible OperationalError.
for key in merged_dict:
cur.execute("INSERT INTO Games VALUES (?,?)", (key, merged_dict[key]))