Groups
Groups
Sign in
Groups
Groups
Reactor
Conversations
About
Send feedback
Help
deleting multiple records?
0 views
Skip to first unread message
fusionserve.net
unread,
Feb 26, 2009, 11:20:03 AM
2/26/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Reactor
I've seen this question asked before on the old mailing list but there
seemed to be no final answer.
Is there a way of deleting multiple records in Reactor? I know it
sounds pretty basic but i'm finding if I do the following:
categoryProduct = Reactor.createRecord("mCategoryProduct") ;
categoryProduct.delete(productID=form.productID) ;
productID is not the primary key but I still want to be able to delete
by a different field other than the primary key.
I guess it needs a gateway as it is multiple records but I can't find
a function that does this.
Any help would be much appreciated!
Matt
Dave Phipps
unread,
Feb 27, 2009, 6:34:06 PM
2/27/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to reacto...@googlegroups.com
I think there is a DeleteByFields() method in the Gateway. Create a
gateway and do a cfdump to see the available methods.
Cheers,
Dave
2009/2/26
fusionserve.net
<
dance...@gmail.com
>:
Reply all
Reply to author
Forward
0 new messages