]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Allow flat for join with name
authorEric Atkin <eatkin@certusllc.us>
Wed, 3 Jul 2024 20:05:04 +0000 (16:05 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 4 Jul 2024 17:53:41 +0000 (13:53 -0400)
commit0e40962bf300bb26c873d00d80813a735fb7447f
tree70b9d49af8db50f0fc624bca4bdc9e9632497a52
parentc8d73b74733fa9f12b7b95a5885e808e6b31f1c6
Allow flat for join with name

The :paramref:`_orm.aliased.name` parameter to :func:`_orm.aliased` may now
be combined with the :paramref:`_orm.aliased.flat` parameter, producing
per-table names based on a name-prefixed naming convention.  Pull request
courtesy Eric Atkin.

Fixes: #11575
Closes: #11531
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/11531
Pull-request-sha: f85535464be7b04d5f9745848d28f87dcd248b86

Change-Id: If79679c7a9598fffe99c033894b7dffecef13939
doc/build/changelog/unreleased_20/11575.rst [new file with mode: 0644]
lib/sqlalchemy/orm/_orm_constructors.py
lib/sqlalchemy/sql/selectable.py
test/orm/test_core_compilation.py
test/sql/test_selectable.py