Hello.

I am wondering if there is an easier way to do the following with Reactor:

I have keys and keychains. There is a many to many relationship between the two. I am trying to figure out the best way to add keys to a keychain. Currently, I have constructed a function in the keychainRecord.cfc called addKeysToKeychain(), which takes a list of key IDs. This function then DELETEs all rows in the keychain_key MTM table specific to the current keychain, and loops through the list of key IDs, and INSERTs a new row to the keychain_key MTM table for each.

This method works fine, but I was just curious as to whether there existed some secret Reactor magic that would allow me to do something similar without witting a custom function.

Thanks!
Mike Haggerty


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

Reply via email to