Python ORMs (SQLAlchemy, etc)

Status
You're currently viewing only bk0's posts. Click here to go back to viewing the entire thread.
Not open for further replies.

bk0

Ars Tribunus Militum
1,801
Not to hijack the thread, but I'm currently implementing a db app in Python and (naively) never considered any ORM type stuff. What is the advantage of this over coding straight SQL into the DB handling classes? For example, will SQLAlchemy auto-generate SQL for different backends so I could hook up a MySQL backend at some point in addition to the current sqlite backend? Or does this allow some version of schema-independence when writing the db handling code?

Sorry if these are dumb questions, I'm hacking this together without any prior experience with db-centric apps.
 
Status
You're currently viewing only bk0's posts. Click here to go back to viewing the entire thread.
Not open for further replies.