On May 2, 8:28 pm, Michael Bayer <[EMAIL PROTECTED]> wrote: > take a look at your SQL output with echo and make sure the queries > make sense. that it works with arbitrary columns as pk/fk could just > be due to particular data youre working with, but you definitely want > to pick a proper candidate key for the rows of that selectable.
So far SQL-queries look fine since it is not a table but select that is used by mapper. I guess it will start screwing things up with sessions where primary keys are used as entity id. But I cannot see how relation(foreign_key=...) is used anywhere. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
