OK, last question for now:
Still going through the tutorial. The delete method works fine in
longhand mode:
<!--- create a userRecord --->
<cfset UserRecord = reactor.createRecord("User") />
<!--- set the record to delete --->
<cfset UserRecord.setUserId(5) />
<!--- delete the record --->
<cfset UserRecord.delete() />
But if I try the shorthand code:
<cfset UserRecord = Reactor.createRecord("User").delete(userId=5) />
nothing happens...
(Build 408, MS SQL 2000)
Seb
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --