Re: [sqlalchemy] Having problem with constructing update ...from... with sqlalchemy

2011-09-12 Thread george hu
Thanks Michael, that solves my problem. On Mon, Sep 12, 2011 at 3:18 PM, Michael Bayer mike...@zzzcomputing.comwrote: On Sep 12, 2011, at 5:50 PM, Geo wrote: I have a tested update ... from.. statement, like so: UPDATE...FROM syntax, which is non-standard, isn't built into SQLAlchemy

Re: [sqlalchemy] use session inside the class

2011-09-02 Thread george hu
Thanks Michael, that gives me more understanding of using the session. Actually the DBSession is initialized from: DBSession = scoped_session(sessionmaker( extension=ZopeTransactionExtension())) as the following description: ZopeTransactionExtension is a little