~ubuntu-branches/debian/sid/sqlalchemy/sid

« back to all changes in this revision

Viewing changes to doc/_sources/orm/session.txt

  • Committer: Package Import Robot
  • Author(s): Piotr Ożarowski
  • Date: 2012-03-15 21:05:49 UTC
  • mfrom: (1.4.19)
  • Revision ID: package-import@ubuntu.com-20120315210549-fiuynu6jue9keqlh
Tags: 0.7.6-1
* New upstream release
* debhelper's compatibility bumped to 7
* Standards-Version bumped to 3.9.3 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
890
890
    # persistent objects that have been marked as deleted via session.delete(obj)
891
891
    session.deleted
892
892
 
 
893
    # dictionary of all persistent objects, keyed on their
 
894
    # identity key
 
895
    session.identity_map
 
896
 
 
897
(Documentation: :attr:`.Session.new`, :attr:`.Session.dirty`, 
 
898
:attr:`.Session.deleted`, :attr:`.Session.identity_map`).
 
899
 
893
900
Note that objects within the session are by default *weakly referenced*. This
894
901
means that when they are dereferenced in the outside application, they fall
895
902
out of scope from within the :class:`~sqlalchemy.orm.session.Session` as well