From 66377aaeafee34767c34e14d9e354aa3bd41372f Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 3 Mar 2012 13:10:37 -0500 Subject: fix typos, SQL server also needs union all --- lib/sqlalchemy/sql/expression.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/sqlalchemy/sql') diff --git a/lib/sqlalchemy/sql/expression.py b/lib/sqlalchemy/sql/expression.py index 22fe6c420..50b7375bf 100644 --- a/lib/sqlalchemy/sql/expression.py +++ b/lib/sqlalchemy/sql/expression.py @@ -4353,7 +4353,7 @@ class _SelectBase(Executable, FromClause): compile time. :param recursive: if ``True``, will render ``WITH RECURSIVE``. A recursive common table expression is intended to be used in - conjunction with UNION or UNION ALL in order to derive rows + conjunction with UNION ALL in order to derive rows from those already selected. The following examples illustrate two examples from @@ -4422,7 +4422,7 @@ class _SelectBase(Executable, FromClause): incl_alias = included_parts.alias() parts_alias = parts.alias() - included_parts = included_parts.union( + included_parts = included_parts.union_all( select([ parts_alias.c.part, parts_alias.c.sub_part, -- cgit v1.2.1