]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
As of 1.1, there are five object states 5972/head
authorJohn Whitlock <jwhitlock@mozilla.com>
Wed, 24 Feb 2021 15:41:02 +0000 (09:41 -0600)
committerJohn Whitlock <jwhitlock@mozilla.com>
Wed, 24 Feb 2021 15:41:02 +0000 (09:41 -0600)
doc/build/orm/tutorial.rst

index 59cc9cfab2a680ed7c123907601ec17e9381f9ec..c64e1fc3b2695b123e99d6b827d829e701eda6f4 100644 (file)
@@ -518,7 +518,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.
@@ -2248,4 +2248,4 @@ Session Reference: :doc:`/orm/session`
 ..  Setup code, not for display
 
     >>> session.close()
-    ROLLBACK
\ No newline at end of file
+    ROLLBACK