James Holms wrote: >Does the API build the final query with cfqueryparam tags? > >On 2/12/06, S. Isaac Dealey <[EMAIL PROTECTED]> wrote: >> This is something I mentioned a little while ago on the Team >> Macromedia list (maybe on cf-community too), because I was really >> excited about it and felt like I had to share. :) >[snip]
Hi James, Yes indeed, the final queries use cfqueryparam tags wherever possible. :) You should always use cfqueryparam of course, so I always use cfqueryparam -- all 2 of them that are in my framework. :P That's just 'cause the abstraction layer routes all queries through a generic execution method which loops over an array containing syntax elements -- some of those syntax elements are strings and then any place where there needs to be a cfqueryparam tag it contains a structure which then drives the cfqueryparam tags. There had to be 2 cfqueryparam tags because of some apparently mutually exclusive set of attributes for cfqueryparam -- 2 attributes that can't be simultaneously declared... I don't remember which attributes caused it, but fortunately it only required one conditional statement rather than a slew of them. :) Sorry for the delayed response... I apparently hadn't realized that when I set myself to web-only subscriptions to cf-talk and cf-community when we moved in November that I then forgot to reset my subscription preferences once we'd moved in to the new place. - ike ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234204 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

