Is there a way to use Python's variable replacement when updating Sqlite data targeting a known rowid? I am trying to say something like:
cursor.execute('INSERT INTO Words(rowid,f1,f2) VALUES(?,?,?)', [rowid,2,3])
The problem is that this fails with error:
sqlite3.IntegrityError: PRIMARY KEY must be unique
I want to write a list of values into the table's existing record without changing the rowid number. What's the accepted way to update all fields from a list of values?