-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Prepared statements
The series of functions beginning with n_pending should really only be one function. This is the perfect use case for prepared statements. Make that status number a parameter.Don't conflate purpose
TaskQueue.print really does two things - a fetch and a print. You should probably separate these.sqlite autocommit
From the brief Google I did, sqlite operates in autocommit mode by default. I don't think any of the commits you've done are necessary.Implicit cursors
It shouldn't be necessary to explicitly get those cursors. You can iterate on the return value of fetchall.
Metadata
Metadata
Assignees
Labels
No labels