]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
✏️ Fix typos in "Data Manipulation with the ORM" (#6389)
authorSebastián Ramírez <tiangolo@gmail.com>
Wed, 28 Apr 2021 18:42:07 +0000 (20:42 +0200)
committerGitHub <noreply@github.com>
Wed, 28 Apr 2021 18:42:07 +0000 (20:42 +0200)
doc/build/tutorial/orm_data_manipulation.rst

index 6068ec4fd4912a5990234f8274f75dc194fe4ceb..740880567f48f567fcc62d0e49c198e2e8889196 100644 (file)
@@ -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`.