Yes! That is what it would do.
And it's damn sexy if you ask me!
On 4/19/06, Dave Shuck <[EMAIL PROTECTED]
> wrote:
-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/
> <cfset user.removeAddress().delete() />
> <cfset user.save() />I am sure this is obvious to some, but can I confirm exactly what that is doing? I think I it is doing the following:
- remove the relationship from the user to the address
- delete the address from the database
- save the user with the newly removed relationship
Is that correct? If so that is pretty dang clean.
~Dave

