summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Whitlock <jwhitlock@mozilla.com>2021-02-24 09:41:02 -0600
committerJohn Whitlock <jwhitlock@mozilla.com>2021-02-24 09:41:02 -0600
commitd5a4965e286602caecbbfd640a40cc6619a7da36 (patch)
treefed187401d6fc0798a70fae3168122882aee34d3
parent930e1a89373ff3ee8c35b6696ed6d70502f03566 (diff)
downloadsqlalchemy-d5a4965e286602caecbbfd640a40cc6619a7da36.tar.gz
As of 1.1, there are five object states
-rw-r--r--doc/build/orm/tutorial.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/build/orm/tutorial.rst b/doc/build/orm/tutorial.rst
index 59cc9cfab..c64e1fc3b 100644
--- a/doc/build/orm/tutorial.rst
+++ b/doc/build/orm/tutorial.rst
@@ -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