diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-12-11 19:48:27 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-12-11 19:48:27 -0500 |
commit | 84af7e6c22100ef26c5a27185b1d270f5afb3370 (patch) | |
tree | 18aa3efba3349c572c381aaf7ed1a74753e11e2d /lib/sqlalchemy/sql/compiler.py | |
parent | 9087157749a0527d6af37e58166793fc7e2f0bf7 (diff) | |
download | sqlalchemy-84af7e6c22100ef26c5a27185b1d270f5afb3370.tar.gz |
- The :class:`.ForeignKey` class more aggressively checks the given
column argument. If not a string, it checks that the object is
at least a :class:`.ColumnClause`, or an object that resolves to one,
and that the ``.table`` attribute, if present, refers to a
:class:`.TableClause` or subclass, and not something like an
:class:`.Alias`. Otherwise, a :class:`.ArgumentError` is raised.
[ticket:2883]
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions