On Wed, Jan 22, 2014 at 3:41 AM, Ni Wesley <[email protected]> wrote: > Hi guys, > I have a question here. > Just as the title, I mean, for example: > > I am using mysql as the database engine. > Now, I use sqlalchemy ORM to map python class to database table. > > My question is here: > Actually, there are specified teams to do the database design and tables > creation work. > Which means that, I won't sync table structures from sqlalchemy something > like from session.create_all(). > > So,if I keep my model class synced with the database table structure, can I > still use ORM operations, say, session.query(Class), session.add, > session.commit .etc >
Yes, absolutely. SQLAlchemy doesn't care how the database was created. You should be able to use all the normal operations on a database created by some other means. Hope that helps, Simon -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/groups/opt_out.
