diff options
author | John Whitlock <jwhitlock@mozilla.com> | 2021-02-24 09:41:02 -0600 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-03-01 09:06:00 -0500 |
commit | 90039d47473afc6de86c4bed521fcd1196b43d18 (patch) | |
tree | dc1232e457e558b71e7177446aa35e7f640867f8 | |
parent | 667c963e48a92e95847a25337b9f11560f3b7b43 (diff) | |
download | sqlalchemy-90039d47473afc6de86c4bed521fcd1196b43d18.tar.gz |
As of 1.1, there are five object states
(cherry picked from commit d5a4965e286602caecbbfd640a40cc6619a7da36)
Change-Id: I3ae84e45db3df3c0e750589c0bec57861b6aa6a6
-rw-r--r-- | doc/build/orm/tutorial.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/build/orm/tutorial.rst b/doc/build/orm/tutorial.rst index dfd138671..2a47d1138 100644 --- a/doc/build/orm/tutorial.rst +++ b/doc/build/orm/tutorial.rst @@ -492,7 +492,7 @@ The level of reloading is configurable as is described in :doc:`/orm/session`. As our ``User`` object moved from being outside the :class:`.Session`, to inside the :class:`.Session` without a primary key, to actually being - inserted, it moved between three out of four + inserted, it moved between three out of five available "object states" - **transient**, **pending**, and **persistent**. Being aware of these states and what they mean is always a good idea - be sure to read :ref:`session_object_states` for a quick overview. @@ -2232,3 +2232,4 @@ Mapper Reference: :ref:`mapper_config_toplevel` Relationship Reference: :ref:`relationship_config_toplevel` Session Reference: :doc:`/orm/session` + |