|
Given the example on this page: http://livedocs.reactorframework.com/Other_Types_of_Relationships.htm
How would one save changes to customer records that were retrieved via the getCustomerIterator()? The page says that “there is no setCustomerIterator() method”. Looking at the iterator.cfc, I see there are delete(), deleteAll() and add() methods. Do I work with those methods to remove/add/update iterated records? If so, do I save each iterated record separately or do the saves commit when I save the parent record?
I’m interested in any previous thread or bit of documentation that would clarify the best practice.
Dan
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
- [Reactor for CF] How should I save changes to iterated record... Dan Sorensen
