On Jan 2, 2008, at 7:56 PM, andresj wrote:
> > Any ideas? And by the way, what does map_column do? > map_column is shorthand for this: table = Table('sometable', metadata, ... Column('somecolumn', ...) ) mapper(Class, table, properties= { '_somecolumn':table.c.somecolumn, 'somecolumn':synonym('_somecolumn') }) so the argument does not apply to your "parent" relation since its not a column-based attribute, its a relation(). Also the small snip you sent didn't seem to have any need for a synonym on parent, unless there are other properties in your code that weren't part of what you sent. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---