diff options
| author | Frederic Junod <frederic.junod@camptocamp.com> | 2017-01-20 09:52:15 +0100 |
|---|---|---|
| committer | Frederic Junod <frederic.junod@camptocamp.com> | 2017-01-20 09:52:15 +0100 |
| commit | 8795472c875d5f424f96a1e19e93d6dd4a7df6a8 (patch) | |
| tree | 22c10a1a65cdf8f24664761c3934384351c3c25c /lib/sqlalchemy | |
| parent | 81518ae2e2bc622f8cd47287a575ad4c0e43ead1 (diff) | |
| download | sqlalchemy-8795472c875d5f424f96a1e19e93d6dd4a7df6a8.tar.gz | |
Fix typo in documentation
Diffstat (limited to 'lib/sqlalchemy')
| -rw-r--r-- | lib/sqlalchemy/orm/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/util.py b/lib/sqlalchemy/orm/util.py index b4d5b8a9e..019f32b26 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. |
