On Wed, Jan 26, 2011 at 12:31 PM, Daniel Holth <[email protected]> wrote: > I actually do have to use two database engines that do not participate in > the same transaction (so I cannot use Session(binds={})). Instead, each > database has its own configured session factory. (Upper-case Session is the > session factory, lower-case session is an instance of the session, but with > scoped_session the session factory can be used in almost every case where > you would want an instance.)
OK, that's a case where you'd not use pyramid_sqla's Session. Each part of pyramid_sqla (the Session, engine collection, and Base) is intended to be a convenience that you can use or not use as you wish. -- Mike Orr <[email protected]> -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
