Michael Bayer ha scritto:
On Jul 8, 2008, at 2:50 PM, Manlio Perillo wrote:
Michael Bayer ha scritto:
[...]
Current integration approaches focus on the scoped_session()
construct
as home base for the current transaction.
Ah, sorry.
Sessions are not a problem, since the common
On Jul 8, 2008, at 2:04 PM, Manlio Perillo wrote:
I'm thinking to add a function:
# XXX add support for additional parameters like close_with_result?
def contextual_connect(environ, engine):
connection = environ.get('wsgix.dbapi.contextual_connection')
if connection is None:
Michael Bayer ha scritto:
About integrating SQLAlchemy in WSGI with a per request scoped
session.
[...]
Current integration approaches focus on the scoped_session() construct
as home base for the current transaction. This is an adaption of
0.3's SessionContext, and the idea is the
Michael Bayer ha scritto:
[...]
Current integration approaches focus on the scoped_session() construct
as home base for the current transaction.
Ah, sorry.
Sessions are not a problem, since the common pattern for web
applications is to create a new session for each transaction (if the
On Jul 8, 2008, at 2:50 PM, Manlio Perillo wrote:
Michael Bayer ha scritto:
[...]
Current integration approaches focus on the scoped_session()
construct
as home base for the current transaction.
Ah, sorry.
Sessions are not a problem, since the common pattern for web
applications is