|
Brad, You can use : <cfset gtw =
reactorFactory.createGateway(“sometbl”)> <cfset
gtw.deleteByFields(theField=2)> João Fernandes From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brad Haas I need to delete
fields from a table with a where clause: DELETE FROM SomeTbl WHERE TheField = 2 What is the best way
to do this in Reactor. I guess you could create a gateway and use the where
method on it to get the record set. Then you could loop through each record
one-by-one and do a delete. Is there an more efficient way than this? Thanks, Brad
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 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/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
- [Reactor for CF] Delete Where Brad Haas
- RE: [Reactor for CF] Delete Where João Fernandes
- Re: [Reactor for CF] Delete Where Brad Haas
