I don't know what I'm doing wrong, but my database is not updating! This is what I'm doing, so simple:
conn = sqlite3.connect('tarefas.db')
c = conn.cursor()
c.execute("UPDATE tarefas SET concluido = 1")
conn.commit
conn.close()
I want to update all rows in this column. When I execute this query in a sqlite manager it works. Why python just can't?
conn.commit()