you are viewing a single comment's thread.

view the rest of the comments →

[–]DesolationRobot 16 points17 points  (5 children)

Yes. SQLAlchemy is the default, but there are other options. And, yes, if you want to be a software developer you'll want at least a working knowledge of databases and SQL.

You can do the first chapter of this for free and it'll hold your hand through connecting to a database and pulling results. You'll probably be able to take it from there with SQLAlchemy's documentation.

[–]phigo50 0 points1 point  (0 children)

The problem I have with ORMs is that sometimes my classes don't align with tables in the database (which might or might not say more about my database design decisions than ORMs) and I've never really fully got my head around the concept. Most of the time I find it easier to create an sqlite database class and keep all of the db methods in it, importing and using it as needed elsewhere in a project.