Hi Tom, Time for the reactor Guru's, but I would say they if you're just talking about a left outer join, you could either write a custom query using the query object or if Reactor supports optionality, a hasone() should be the solution. I don't know what it returns when there isn't one, but this is an extremely common situation so I'm sure it is covered.
On a side note, I'm completely bummed that I went off early to the hotel last night to do some work and missed Doug Hughes coming by CF United to say "hi". Would have loved to meet him in person. Best Wishes, Peter -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Friday, June 30, 2006 8:24 AM To: [email protected] Subject: Re: [Reactor for CF] Adding propeties to TOs On Friday 30 June 2006 12:08, Peter Bell wrote: > This will kill you from a performance perspective - this is n+1 > queries where there are n-records in the original query. I don't fully > get what Yeah, I know :-) Which is what led me to wanting to do it once, well, and prefable using Reactor so that people who just call getByQuery() get the new columns directly. Could I just say that each object hasOne of the other object in reactor.xml ? What does reactor do in the event that there anything at the other end of a relationship ? -- Tom Chiverton **************************************************** This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

