diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-07-27 11:36:57 -0400 |
---|---|---|
committer | Federico Caselli <cfederico87@gmail.com> | 2022-08-01 21:46:33 +0000 |
commit | 1ecbf14cc24aa0b1d303926178941c1f7f9fe93b (patch) | |
tree | 9d6db71363b3dd90dfc69b5388902d68f9e57cb2 /test/dialect/postgresql/test_compiler.py | |
parent | 3ff18812d8d80b2016ceeea98c808a76cae85e48 (diff) | |
download | sqlalchemy-1ecbf14cc24aa0b1d303926178941c1f7f9fe93b.tar.gz |
implement tuple-slices from .c collections
Added new syntax to the ``.c`` collection on all :class:`.FromClause`
objects allowing tuples of keys to be passed to ``__getitem__()``, along
with support for ``select()`` handling of ``.c`` collections directly,
allowing the syntax ``select(table.c['a', 'b', 'c'])`` to be possible. The
sub-collection returned is itself a :class:`.ColumnCollection` which is
also directly consumable by :func:`_sql.select` and similar now.
Fixes: #8285
Change-Id: I2236662c477ffc50af079310589e213323c960d1
Diffstat (limited to 'test/dialect/postgresql/test_compiler.py')
0 files changed, 0 insertions, 0 deletions