On Feb 16, 2012, at 9:57 AM, Chris Withers wrote:

> On 16/02/2012 14:38, Michael Bayer wrote:
>> We reflect foreign keys with a vengeance, with the light from like two dozen 
>> unit tests forged from sweat and tears...
> 
> Okay, postgres on this one...
> 
> Using the reflected declarative pattern.
> 
> Unless I manually specify the column with the foreign key in the class of the 
> referring table, orm joins and relationship attributes don't figure out the 
> relationship.
> 
> What am I doing wrong?

a lot of things could be wrong, you'd need to show me a very succinct and 
reproducible illustration.

if you're specifying the Column yourself, for example, reflection is not going 
to "fill in" the foreign key, it will just skip that column.


-- 
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.

Reply via email to