Answer the question
In order to leave comments, you need to log in
How to clear sqlite?
How to clear the base? Tried:
And nothing, gives out
sql.execute(f"""DELETE from items""")
Process finished with exit code 0
Answer the question
In order to leave comments, you need to log in
Database and table are two different things.
To clear the table, just the specified delete command will do. Just don't forget to commit after that.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question