|
<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 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 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 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 |
- Reactor For CF Update single value Chris Terrebonne
- RE: Reactor For CF Update single value Doug Hughes
- RE: Reactor For CF Update single value Chris Terrebonne
- RE: Reactor For CF Update single value Doug Hughes
- Re: Reactor For CF Update single value Jared Rypka-Hauer
- Re: Reactor For CF Update single value Joe Rinehart
- Re: Reactor For CF Update single value Bill Rawlinson
- Re: Reactor For CF Update single value Joe Rinehart
- RE: Reactor For CF Update single value Doug Hughes
- Re: Reactor For CF Update single value Bill Rawlinson
- RE: Reactor For CF Update single v... Chris Terrebonne
- Re: Reactor For CF Update single value Jared Rypka-Hauer
- Re: Reactor For CF Update single value Jared Rypka-Hauer
- RE: Reactor For CF Update single value Doug Hughes

