SQLAlchemy 0.4 Documentation
Version: 0.4.6 Last Updated: 06/08/08 21:47:23
module sqlalchemy.engine.threadlocal
Provides a thread-local transactional wrapper around the root Engine class.
The threadlocal module is invoked when using the strategy="threadlocal" flag with create_engine(). This module is semi-private and is invoked automatically when the threadlocal engine strategy is used.
class TLConnection(Connection)
back to section topclass TLEngine(Engine)
An Engine that includes support for thread-local managed transactions.
The TLEngine relies upon its Pool having "threadlocal" behavior, so that once a connection is checked out for the current thread, you get that same connection repeatedly.
class TLSession(object)
back to section topclass TLTransaction(Transaction)
back to section top
Up: API Documentation
|
Previous: module sqlalchemy.engine.strategies
|
Next: module sqlalchemy.engine.url
