[transfer-dev] Re: TQL Many-To-Many Bidirectional Relationship

2011-09-14 Thread Robert Rawlins
Hi Pedro, Thanks. On re-reading my question I realize I wasn't very clear. What I have is a many-to-many relationship. Defined on the Foo object. Transfer generates methods on Foo for getting and changing the collection of bars. However, I want some TQL so given a specific Bar object, I can

[transfer-dev] Re: TQL Many-To-Many Bidirectional Relationship

2011-08-31 Thread Pedro Bezunartea López
Hi Robert, I think that's well explained in the documentation: http://docs.transfer-orm.com/wiki/Managing_Relationships_and_Compositions.cfm The short answer is that having established a OneToMany relation, Foo to Bars, you can use the method Bar.getParentFoo(). HTH, Pedro -- Before