2 ms·
> one has to create the cursor before ever executing any queries You are right, that is a bit weird, although only a very slight annoyance IMO. As I said in re
by quietbritishjim 7y ago
> one has to create the cursor before ever executing any queries
You are right, that is a bit weird, although only a very slight annoyance IMO. As I said in reply to the sibling comment, I had forgotten this as I mostly use SQLite from Python and it doesn't actually require this: you can call .execute() on the connection object and it returns the cursor, which does seem a lot cleaner.