Hi all, I wanted to ask if there is a way to add many to many relationships to the database every time a new object is inserted. I have a Question that has a many to many relationship to AnswerCode. Every time I create and insert a new Question I'd like to add the corresponding answer codes to that question. I tried with the decorators @before_insert and @after_insert, but neither worked. So I wondered if there is a decent way to do that without having to explicitly add the answer codes after creating the question.
Cheers, Lea -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=.