From: Jochen Kupperschmidt Date: Thu, 6 Oct 2022 19:27:02 +0000 (+0200) Subject: Fix missing column name in 1.x `IS NULL` example (#8595) X-Git-Tag: rel_1_4_42~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be400435239644f9c51575dca9dbb409e08ceefc;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix missing column name in 1.x `IS NULL` example (#8595) --- diff --git a/doc/build/core/tutorial.rst b/doc/build/core/tutorial.rst index e0b3e179fd..9ec74fead7 100644 --- a/doc/build/core/tutorial.rst +++ b/doc/build/core/tutorial.rst @@ -822,7 +822,7 @@ objects is at :class:`.ColumnOperators`. * :meth:`IS NULL <.ColumnOperators.is_>`:: - statement.where(users.c. == None) + statement.where(users.c.name == None) # alternatively, if pep8/linters are a concern statement.where(users.c.name.is_(None))