summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/build/orm/session_basics.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/orm/session_basics.rst b/doc/build/orm/session_basics.rst
index 23a76b4d0..fe6bb8a67 100644
--- a/doc/build/orm/session_basics.rst
+++ b/doc/build/orm/session_basics.rst
@@ -556,7 +556,7 @@ Core :class:`_sql.Update` construct::
from sqlalchemy import update
- stmt = update(User).where(User.name == "squidward").values(name="spongebob")).\
+ stmt = update(User).where(User.name == "squidward").values(name="spongebob").\
execution_options(synchronize_session="fetch")
session.execute(stmt)