Re: [SQLObject] RelatedJoins on the fly

2007-07-13 Thread Molly Aplet
Thanks, Oleg! I assumed that something like that existed, but I was looking in the RelatedJoin class--entirely the wrong place in this case. Molly On 7/12/07, Oleg Broytmann <[EMAIL PROTECTED]> wrote: On Thu, Jul 12, 2007 at 05:25:52PM -0700, Molly Aplet wrote: > Optimizer.sqlmeta.addJoin > (R

Re: [SQLObject] RelatedJoins on the fly

2007-07-12 Thread Oleg Broytmann
On Thu, Jul 12, 2007 at 05:25:52PM -0700, Molly Aplet wrote: > Optimizer.sqlmeta.addJoin > (RelatedJoin('OptimizerTeam',joinMethodName='OptimizerTeams')) > OptimizerTeam.sqlmeta.addJoin(RelatedJoin('Optimizer', > joinMethodName='Optimizers')) You have to create an intermediate table that stores

[SQLObject] RelatedJoins on the fly

2007-07-12 Thread Molly Aplet
Hi, Is there a way to add RelatedJoins to tables on the fly, when the tables have already been created? I have two objects, Optimizer and OptimizerTeam, that I want to link with a RelatedJoin, without wiping out all the rows I currently have stored. I tried running the following in the hopes of