Show More
@@ -236,8 +236,8 b' Each HTTP request runs inside an indepen' | |||||
236 | as in an independent database transaction). ``Session`` is the session manager |
|
236 | as in an independent database transaction). ``Session`` is the session manager | |
237 | and factory. ``Session()`` will create a new session on-demand or return the |
|
237 | and factory. ``Session()`` will create a new session on-demand or return the | |
238 | current session for the active thread. Many database operations are methods on |
|
238 | current session for the active thread. Many database operations are methods on | |
239 | such session instances - only ``Session.remove()`` should be called directly on |
|
239 | such session instances. The session will generally be removed by | |
240 | the manager. |
|
240 | TurboGears automatically. | |
241 |
|
241 | |||
242 | Database model objects |
|
242 | Database model objects | |
243 | (almost) always belong to a particular SQLAlchemy session, which means |
|
243 | (almost) always belong to a particular SQLAlchemy session, which means |
General Comments 0
You need to be logged in to leave comments.
Login now