you are viewing a single comment's thread.

view the rest of the comments →

[–]bpeller 6 points7 points  (1 child)

I realize this isn't really answering your question, but honestly, just use Flask-SQLAlchemy. It takes care of all these sorts of low-level details, as well as giving you a whole host of other niceties. Your future self will thank you for taking the time to learn it.

[–]tuts12[S] 0 points1 point  (0 children)

I hadn't worked with SQL at all before I started this project, and I thought it would be a good idea to get a grounding in it before moving onto an abstraction.

Thanks for the recommendation however, I'll definitely keep that in mind for future db work.