Hi all.
I've just started using Reactor and it looks great. I have a question
about getAll().
I have the have 2 tables that have a one to one relationship, so I have
defined the following
<objects>
<object name="table1">
<hasOne name="table2">
<relate from="table2ID" to="table2ID" />
</hasOne>
</object>
</objects>
I would like to display a listing of all records from table1 and their
associated data in table2. (Like the Contact and Address example in
the docs.) Can I use the getAll() to retrieve the records from both
tables, or do I have to create query with all the fields I want to
display, then do the createGateway() on that query, then getAll().
Thanks in advance
Byron
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --