From e8f5a9277e2ffc674cde99114845b866d7e10b51 Mon Sep 17 00:00:00 2001 From: AM-ops <53950803+AM-ops@users.noreply.github.com> Date: Sat, 4 Feb 2023 21:12:57 +0200 Subject: [PATCH] Add 'or' comment between code blocks (#9236) --- doc/build/changelog/migration_20.rst | 3 +++ 1 file changed, 3 insertions(+) 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() -- 2.47.3