From 8795472c875d5f424f96a1e19e93d6dd4a7df6a8 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Fri, 20 Jan 2017 09:52:15 +0100 Subject: [PATCH] Fix typo in documentation --- lib/sqlalchemy/orm/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sqlalchemy/orm/util.py b/lib/sqlalchemy/orm/util.py index b4d5b8a9e7..019f32b26f 100644 --- a/lib/sqlalchemy/orm/util.py +++ b/lib/sqlalchemy/orm/util.py @@ -636,7 +636,7 @@ def aliased(element, alias=None, name=None, flat=False, adapt_on_names=False): Above, functions on ``aggregated_unit_price`` which refer to ``.price`` will return the - ``fund.sum(UnitPrice.price).label('price')`` column, as it is + ``func.sum(UnitPrice.price).label('price')`` column, as it is matched on the name "price". Ordinarily, the "price" function wouldn't have any "column correspondence" to the actual ``UnitPrice.price`` column as it is not a proxy of the original. -- 2.47.2