hi all! 

situation: i'm mapping a select as a class, using mapper. so far so
good. 

problem: some of my selected columns *are* foreign keys in their
respective tables, but i would like to say to sqla that they're foreign
keys to another mapped class, which have the pks from which those fks
are pointing. 

the first question is: how? or 

the second question: is there a way to inherit properties (like fks) OR
"cheat" declaring foreign keys that doesn't exists at the database level
? 

my best regards, 

richard. 

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to