diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-09-26 12:50:18 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-09-26 12:50:18 -0400 |
| commit | b1a956d4210c2bb06051a4a8b0d2e75d7c471ecd (patch) | |
| tree | 296ff606282d6f9f3eb7f85f730ed2389526bd63 /lib/sqlalchemy/orm/mapper.py | |
| parent | cb0c1eda24e1546fcdc9b4e46adc1c5fb14b60d0 (diff) | |
| download | sqlalchemy-b1a956d4210c2bb06051a4a8b0d2e75d7c471ecd.tar.gz | |
- add explicit warning re: polymorphic_on, cascading is not supported
at this time. ref #3214
Diffstat (limited to 'lib/sqlalchemy/orm/mapper.py')
| -rw-r--r-- | lib/sqlalchemy/orm/mapper.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sqlalchemy/orm/mapper.py b/lib/sqlalchemy/orm/mapper.py index eaade21ec..2ab239f86 100644 --- a/lib/sqlalchemy/orm/mapper.py +++ b/lib/sqlalchemy/orm/mapper.py @@ -426,6 +426,12 @@ class Mapper(InspectionAttr): thus persisting the value to the ``discriminator`` column in the database. + .. warning:: + + Currently, **only one discriminator column may be set**, typically + on the base-most class in the hierarchy. "Cascading" polymorphic + columns are not yet supported. + .. seealso:: :ref:`inheritance_toplevel` |
