SQLite learnings
SQLITE != DONE
If you are getting the issue where the step statement doesn't equal SQLITE_DONE, then there are a few reasons.
if sqlite3_step(deleteStatement) == SQLITE_DONE {
print("All rows deleted from table")
} else {
...
coderlyn.hashnode.dev4 min read