Hi, Thanks. I'm new to this and didn't know about the .remove function. I see I managed to recreate it. Much appreciate the help.
Gavin On Mar 16, 3:42 pm, "Diez B. Roggisch" <[email protected]> wrote: > On Friday 13 March 2009 23:15:31 whythawk wrote:> Hi, > > > I am hoping that there is an easier way of doing this, but I need to > > delete individual associations in a many to many relationship without > > deleting either of the components (i.e. just the link). The way I > > came up with is to use an Association Table and then delete elements > > from there. > > <snip/> > > I might miss something here, but isn't > > Parent.children.remove(child) > > all you need? Since when does that delete the child? > > Diez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SQLElixir" 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/sqlelixir?hl=en -~----------~----~----~----~------~----~------~--~---
