Oops. That was it - along with deleting my project files.
Thanks, Shannon.
Jon
On Dec 21, 2006, at 9:23 PM, Shannon Jackson wrote:
Make sure you have updated.
-----Original Message-----
From: "Jon Clausen" <[EMAIL PROTECTED]>
To: [email protected]
Sent: 12/21/06 5:31 PM
Subject: [Reactor for CF] deleteByFields not Available
I'm stuck and have been digging through the list without success.
When I attempt to use deleteByFields() I keep getting the message
that the function is not in my gateway object.
The methods available are:
_getAlias, _getSignature, _setConfig, _setConvention, _setName,
_setReactorFactory, configure, createQuery, getAll, getByFields,
getByQuery
What am I doing wrong on this one?
I made it work for now by using getByQuery() and then looping the
delete with createRecord(), but that seems silly if I can do it in
fewer lines of code and one transaction.
Here's what I was trying (where variables.dbservice is the
reactorFactory):
<cfset var dbservice = variables.dbservice />
<cfset var connection = dbservice.createGateway("user_connect") />
<cfset connection.deleteByFields
(user_connect_userid=arguments.userid)/>
Thanks,
Jon
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- --
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 ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --