On 6/14/06, Michael Bayer <[EMAIL PROTECTED]> wrote:
> ah yes well thats is sort of intentional...the old _get_direction
> code was looking at which table had the "primary key" column and that
> was breaking when people related tables together via both primary
> keys....so now its more accurately looking at the foreign key
> relations to the various tables.  Its intuitive that if your tables
> dont have ForeignKeys on them, you have to tell the Mapper what the
> "mapped" foreign keys are.

OK, that makes sense.  I guess it was just blind luck on my part that
the mapper was correctly guessing these things for me before.


_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to