From: AM-ops <53950803+AM-ops@users.noreply.github.com> Date: Sat, 4 Feb 2023 19:12:57 +0000 (+0200) Subject: Add 'or' comment between code blocks (#9236) X-Git-Tag: rel_2_0_2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e8f5a9277e2ffc674cde99114845b866d7e10b51;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Add 'or' comment between code blocks (#9236) --- diff --git a/doc/build/changelog/migration_20.rst b/doc/build/changelog/migration_20.rst index 604d59e083..d31ed5b02d 100644 --- a/doc/build/changelog/migration_20.rst +++ b/doc/build/changelog/migration_20.rst @@ -1522,6 +1522,9 @@ following the table, and may include additional notes not summarized here. select(func.count()). select_from(User) ).one() + + # or + session.scalars( select(func.count(User.id)) ).one()