Hello Bertrand, It works like a charm, thanks a lot.
Max. On 12/27/07, Bertrand Croq <[EMAIL PROTECTED]> wrote: > > > JobPosting's mapper tells RefdataLocation's mapper to add a property > named 'vacancies', then you tell RefdataLocation's mapper to add a > property > named 'vacancies'. > > Replace these 2 "lines" by > > mapper( > JobPosting, > jobad_posts_tbl, > properties = { > 'jb_location': relation( > RefdataLocation, > backref = backref( > 'vacancies', > order_by = desc(jobad_posts_tbl.c.published_date) > ) > ), > } > ) > > and it should work as expected. > > -- > Bertrand Croq > ___________________________________________________________________ > Net-ng Tel : +33 (0)223 21 21 53 > 14, rue Patis Tatelin Fax : +33 (0)223 21 21 60 > Bâtiment G Web : http://www.net-ng.com > 35000 RENNES e-mail: [EMAIL PROTECTED] > FRANCE > > > > > -- Max http://maxischenko.in.ua // http://www.linkedin.com/in/maksim --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---