On Wednesday, January 22, 2014 6:34:59 PM UTC-5, Ni Wesley wrote: > > I mean sqlalchemy ORM, that is, use python class mapping to database table. > > I know sqlalchemy core expression does work, this guy doesn't care how > database is created. > SQLAlchemy certainly works fine regardless of how tables were defined. SQLAlchemy's ability to create database objects is a convenience only. I'm using SQLAlchemy within an application that mostly uses a different ORM. All tables and other database objects are created by hand-written SQL. I use SQLAlchemy's Declarative extension to define mapped classes for those tables which I care about. Sometimes, I use SQLAlchemy's introspection to build queries. Declarative, introspection and the non-SQLAlchemy parts of the system all coexist just fine.
-- 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+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/groups/opt_out.