summaryrefslogtreecommitdiff
path: root/doc/build/tutorial
diff options
context:
space:
mode:
authorSebastián Ramírez <tiangolo@gmail.com>2021-04-28 20:42:07 +0200
committerGitHub <noreply@github.com>2021-04-28 20:42:07 +0200
commitd69407abdb6e89183b69696ca9f873e268ddb3af (patch)
tree4217cf46fbaf12a625679a8882b0fd7f07a98574 /doc/build/tutorial
parenteb79b882f925031d2d12bf363552964b9846d90c (diff)
downloadsqlalchemy-d69407abdb6e89183b69696ca9f873e268ddb3af.tar.gz
✏️ Fix typos in "Data Manipulation with the ORM" (#6389)
Diffstat (limited to 'doc/build/tutorial')
-rw-r--r--doc/build/tutorial/orm_data_manipulation.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/build/tutorial/orm_data_manipulation.rst b/doc/build/tutorial/orm_data_manipulation.rst
index 6068ec4fd..740880567 100644
--- a/doc/build/tutorial/orm_data_manipulation.rst
+++ b/doc/build/tutorial/orm_data_manipulation.rst
@@ -316,10 +316,10 @@ a value in the ``User.name`` column:
>>> session.execute(
... update(User).
... where(User.name == "sandy").
- ... values(fullname="Sandy Squirrel Extraodinaire")
+ ... values(fullname="Sandy Squirrel Extraordinaire")
... )
{opensql}UPDATE user_account SET fullname=? WHERE user_account.name = ?
- [...] ('Sandy Squirrel Extraodinaire', 'sandy'){stop}
+ [...] ('Sandy Squirrel Extraordinaire', 'sandy'){stop}
<sqlalchemy.engine.cursor.CursorResult object ...>
When invoking the ORM-enabled UPDATE statement, special logic is used to locate
@@ -328,7 +328,7 @@ are refreshed with the new data. Above, the ``sandy`` object identity
was located in memory and refreshed::
>>> sandy.fullname
- 'Sandy Squirrel Extraodinaire'
+ 'Sandy Squirrel Extraordinaire'
The refresh logic is known as the ``synchronize_session`` option, and is described
in detail in the section :ref:`orm_expression_update_delete`.