Re: [RDBO] simple relationships question

2007-02-13 Thread Jonathan Vanasco
On Feb 13, 2007, at 1:55 PM, Jonathan Vanasco wrote: > i need to : > delete from person_2_place where person_id = ? > > can this only be done as a manager method with a raw query? Manager::delete_objects seems to be the answer. nevermind. i was looking in the wrong class. // Jonath

[RDBO] simple relationships question

2007-02-13 Thread Jonathan Vanasco
I can't seem to figure this out - its simple. I have a m2m mapping table: person_2_place : person_id references person(id) place_id references place(id) both are indexes. i need to : delete from person_2_place where person_id = ? can this only b