Re:SQLAlchemy vs Other ORMs
by Nullabillity on Friday May 02, 2014 @07:52PM
(#7688872)
Slick (http://slick.typesafe.com/) seems to support this as well in a type-safe manner, but personally I'm not too keen on having the compilation depend on having a stateful database available.
However I don't have the resources to maintain this very old project right now (it's only about 500 lines, anyone can pick up the source if they cared).
A more SQLA-centric version of this idea is recently released as the automap extension (http://docs.sqlalchemy.org/en/latest/orm/extensions/automap....) which includes the "map everything on the fly" step plus relationship support, and you then use traditional Query patterns with it. Reaction to it has been mixed, depending on where the user is coming from.