Alexandre Conrad wrote:
2010/2/26 Marcin Krol <[email protected]>:mapper(City, city_table, properties={'users':relation(User, order_by='user_.id', backref='city_backref')})Isn't it order_by='user.id' ?
No. I explicitly named table 'user_' for it not to collide with Postgres function 'user'.
Hmm but perhaps this _ is where problem comes from? I'll check this out. Regards, mk -- 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.
