Have already looked at these similar issues, but have had no joy:
PHP MySQL Query doesn't work, but works from terminal
Sqlite update don't working right – python
I am using Flask with SQLite and have the following query:
g.db.execute( "UPDATE article_views SET views=views+1 WHERE id=:id" , { "id": this_id } )
Where this_id is an integer. This executes without error. But when I check my db, the expected update has not occurred.
Does anyone have any insight here?
I suspect you need to commit your transaction too: