diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-03-27 22:06:36 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-03-27 22:06:36 +0000 |
commit | de4c25cd028d242eaf0adbba89731f1e791e1dfe (patch) | |
tree | cf9ac6df36dedf04c380bcd36a5afd8162f6001e /lib/sqlalchemy/schema.py | |
parent | 2fed265b95ab5f932e801824dc0089c7fcd0f916 (diff) | |
download | sqlalchemy-de4c25cd028d242eaf0adbba89731f1e791e1dfe.tar.gz |
- fixes [ticket:185], join object determines primary key and removes
columns that are FK's to other columns in the primary key collection.
- removed workaround code from query.py get()
- removed obsolete inheritance test from mapper
- added new get() test to inheritance.py for this particular issue
- ColumnCollection has nicer string method
Diffstat (limited to 'lib/sqlalchemy/schema.py')
-rw-r--r-- | lib/sqlalchemy/schema.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/schema.py b/lib/sqlalchemy/schema.py index bd601ed80..5ed95fabb 100644 --- a/lib/sqlalchemy/schema.py +++ b/lib/sqlalchemy/schema.py @@ -680,7 +680,7 @@ class ForeignKey(SchemaItem): """Return True if the given table is referenced by this ``ForeignKey``.""" return table.corresponding_column(self.column, False) is not None - + def _init_column(self): # ForeignKey inits its remote column as late as possible, so tables can # be defined without dependencies |