From: Sebastián Ramírez Date: Wed, 28 Apr 2021 18:42:07 +0000 (+0200) Subject: ✏️ Fix typos in "Data Manipulation with the ORM" (#6389) X-Git-Tag: rel_1_4_12~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d69407abdb6e89183b69696ca9f873e268ddb3af;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git ✏️ Fix typos in "Data Manipulation with the ORM" (#6389) --- diff --git a/doc/build/tutorial/orm_data_manipulation.rst b/doc/build/tutorial/orm_data_manipulation.rst index 6068ec4fd4..740880567f 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} 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`.