Can't help but make the comment that ORMs can work with CTEs and you
can write them semantically the same as you'd do in straight SQL, as
well as that they are capable of working with database schemas that
are already designed. Does your program emit SELECT statements
(perhaps against views) and wish to handle result rows in Python in
some fashion? Will these rows eventually make their way into Python
objects? These are all things that high quality ORMs are meant to
help automate and save you the time of reinventing those layers
yourself. Beyond that, SQLAlchemy's ORM is just one optional
component on top of the entire Core system which is generally
considered to be helpful at many levels, including as a highly capable
base for any arbitrary database-row-to-python-object marshalling
system if you do have the need to create this, as would likely be the
case for a stored-procedure based system. I'd recommend looking
through the talks and tutorials at
http://www.sqlalchemy.org/library.html as well as
http://docs.sqlalchemy.org/en/latest/intro.html if you are curious
what SQLAlchemy offers.
> --
> SQLAlchemy -
> The Python SQL Toolkit and Object Relational Mapper
>
>
http://www.sqlalchemy.org/
>
> To post example code, please provide an MCVE: Minimal, Complete, and
> Verifiable Example. See
http://stackoverflow.com/help/mcve for a full
> description.
> ---
> You received this message because you are subscribed to the Google Groups
> "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
sqlalchemy+...@googlegroups.com.
> To post to this group, send email to
sqlal...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/sqlalchemy.
> For more options, visit
https://groups.google.com/d/optout.