diff options
author | Jesse Bakker <github@jessebakker.com> | 2020-08-17 10:35:35 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-08-17 11:42:47 -0400 |
commit | db2b2e21d6458d29a156a8532a52425333e0317a (patch) | |
tree | b456310331fd094075fb6723114bc80f7f1dd853 /test/dialect/postgresql/test_compiler.py | |
parent | 677f9bd309b825bd3e253954e38ba642f92fef29 (diff) | |
download | sqlalchemy-db2b2e21d6458d29a156a8532a52425333e0317a.tar.gz |
Make discriminator column used by ConcreteBase configurable
The name of the virtual column used when using the
:class:`_declarative.AbstractConcreteBase` and
:class:`_declarative.ConcreteBase` classes can now be customized, to allow
for models that have a column that is actually named ``type``. Pull
request courtesy Jesse-Bakker.
Fixes: #5513
Closes: #5514
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5514
Pull-request-sha: 5e7429f3531e2e22fffe996c9760905578d16ef9
Change-Id: I733737844d4f4e1f52dd2475a66c7044ff7292f5
Diffstat (limited to 'test/dialect/postgresql/test_compiler.py')
0 files changed, 0 insertions, 0 deletions