<delivery mode=”nicest way possible”>Argh!</delivery>

 

You know.  I more or less rudely shot you down.  But now that I’ve done that (and you politely took it) I’ve been thinking about ways to do this.

 

The load and delete methods take various arguments to indicate what to load or delete.  Why not something akin to that for saving?  IE:

 

<cfset myRecord.save(“list,of,fieldnames”) />

 

Something like that might save only the specified fields for that record?  Of course, if you have constraint issues it’ll throw an error.

 

That seems like it might be handy.  Thoughts?

 

Doug

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Terrebonne
Sent: Thursday, February 09, 2006 10:55 AM
To: [email protected]
Subject: RE: Reactor For CF Update single value

 

Doug,

 

Thanks for the great code and quick response.  I appreciate both. 

 

I’ll simply add the methods I need.  If it appears to be useful and reusable, I’ll forward you the changes.

 

Thanks,

Chris

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Hughes
Sent: Thursday, February 09, 2006 9:35 AM
To: [email protected]
Subject: RE: Reactor For CF Update single value

 

Nope – There’s no way built in to do this (unless you have a two column table). 

 

I can’t make reactor everything to everyone.  You’re welcome to add your own methods to do what you need, as you need it.

 

Doug

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Terrebonne
Sent: Thursday, February 09, 2006 9:48 AM
To: [email protected]
Subject: Reactor For CF Update single value

 

After digging through the docs and DAO, I was unable to find a way to update a single value (rather than updating every value in the table) using Reactor.  Is there a built in way to handle this, or will I have to extend the DAO?

 

Thanks,

Chris

Reply via email to