[sqlalchemy] Re: Goofy Association Table

2008-05-06 Thread Matt Haggard
Thank you Michael! I've got a follow-up question if anyone's up to it. I've changed my classes and mappings to the following: class QType(object): ... questions = association_proxy('joinObj', 'questions', creator=_create_joinObj) sections = association_proxy('joinObj', 'sections')

[sqlalchemy] Re: Goofy Association Table

2008-05-05 Thread Michael Bayer
On May 5, 2008, at 5:11 PM, Matt Haggard wrote: I've got a kind of goofy schema, and I'm trying to map it. I've got Questionnaire types, Sections and Questions all joined in a single association table: join_table : type_id | section_id | question_id questions_table : id | question_text