This seems to be the same issue being discussed in the "Issue with
relationships with the same name in related objects." thread on the
[email protected] list.

On 9/8/06, Denny Valliant <[EMAIL PROTECTED]> wrote:
On 9/7/06, Stephen Moretti <[EMAIL PROTECTED]> wrote:
> ...
> It does make me wonder if I should add aliases to the relationships,
> so that you can tell a relationship from a table.
>
> Any thoughts?

I think it's emerging as a "best practice" for Reactor for CF.  Probably
in general, as it allows you to getaway from DB changes effecting so
much of your code.

It would suck to have to go around and change all getThisField()s to
getThatField()s.  Or all the OO queries...

Alias should probably be required... :-)

But I've just dabbled so far, and read, so I may be off with my thoughts.
:denny


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --




--
Mark Stanton
Gruden Pty Ltd
http://www.gruden.com


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to