I believe you'd have to write a custom gateway method to do that.

You can get the Config object in a Gateway using:
#_getConfig().getDSN()#

On 7/14/07, Matthew Graf <[EMAIL PROTECTED]> wrote:

How do you update multiple records using reactor?
Here is the old way
<cfquery datasource="dsn">
 update tablename set
  myfield = 0
 where id in (listofIDS)
 </cfquery>

How do I do this in reactor?

also how do I get the dsn inside a gateway?

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to