<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: cfquery &#8216;result&#8217; attribute caveat</title>
	<atom:link href="http://www.chapter31.com/2007/04/10/cfquery-result-attribute-caveat/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chapter31.com/2007/04/10/cfquery-result-attribute-caveat/</link>
	<description>Rich Internet Application development</description>
	<lastBuildDate>Tue, 31 Jan 2012 15:10:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ipee</title>
		<link>http://www.chapter31.com/2007/04/10/cfquery-result-attribute-caveat/comment-page-1/#comment-144512</link>
		<dc:creator>Ipee</dc:creator>
		<pubDate>Fri, 02 Dec 2011 14:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/04/10/cfquery-result-attribute-caveat/#comment-144512</guid>
		<description>Can anyone tell how to get the next row, if the query used in cfquery tag having maxrows attribute? mean to say, if your query extracts maxrows = 100, how to get the 101st row ?</description>
		<content:encoded><![CDATA[<p>Can anyone tell how to get the next row, if the query used in cfquery tag having maxrows attribute? mean to say, if your query extracts maxrows = 100, how to get the 101st row ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sharman</title>
		<link>http://www.chapter31.com/2007/04/10/cfquery-result-attribute-caveat/comment-page-1/#comment-64788</link>
		<dc:creator>Michael Sharman</dc:creator>
		<pubDate>Wed, 06 Aug 2008 00:08:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/04/10/cfquery-result-attribute-caveat/#comment-64788</guid>
		<description>@Allen - agreed for production ready code which is when I really don&#039;t want the &quot;result&quot; attribute.

My data access objects typically return a &quot;query&quot; object, not a struct.

So using the request scope in this example is handy for development purposes only.

Good point though.</description>
		<content:encoded><![CDATA[<p>@Allen &#8211; agreed for production ready code which is when I really don&#8217;t want the &#8220;result&#8221; attribute.</p>
<p>My data access objects typically return a &#8220;query&#8221; object, not a struct.</p>
<p>So using the request scope in this example is handy for development purposes only.</p>
<p>Good point though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allen</title>
		<link>http://www.chapter31.com/2007/04/10/cfquery-result-attribute-caveat/comment-page-1/#comment-64780</link>
		<dc:creator>Allen</dc:creator>
		<pubDate>Tue, 05 Aug 2008 22:54:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/04/10/cfquery-result-attribute-caveat/#comment-64780</guid>
		<description>If you&#039;re putting variables set in a method to the request scope, you&#039;re code is no longer loosely coupled.  You&#039;re essentially using the method as a glorified CFINCLUDE.  You should be returning the result structure just as you would return the name query.</description>
		<content:encoded><![CDATA[<p>If you&#8217;re putting variables set in a method to the request scope, you&#8217;re code is no longer loosely coupled.  You&#8217;re essentially using the method as a glorified CFINCLUDE.  You should be returning the result structure just as you would return the name query.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sharman</title>
		<link>http://www.chapter31.com/2007/04/10/cfquery-result-attribute-caveat/comment-page-1/#comment-30611</link>
		<dc:creator>Michael Sharman</dc:creator>
		<pubDate>Tue, 18 Dec 2007 18:39:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/04/10/cfquery-result-attribute-caveat/#comment-30611</guid>
		<description>Nice tip Adrian, thanks</description>
		<content:encoded><![CDATA[<p>Nice tip Adrian, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Lynch</title>
		<link>http://www.chapter31.com/2007/04/10/cfquery-result-attribute-caveat/comment-page-1/#comment-30595</link>
		<dc:creator>Adrian Lynch</dc:creator>
		<pubDate>Tue, 18 Dec 2007 14:01:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/04/10/cfquery-result-attribute-caveat/#comment-30595</guid>
		<description>Another tip, when you&#039;re viewing the SQL, wrap it in pre tags to format it as it was typed in the cfquery tags.</description>
		<content:encoded><![CDATA[<p>Another tip, when you&#8217;re viewing the SQL, wrap it in pre tags to format it as it was typed in the cfquery tags.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Versteegen</title>
		<link>http://www.chapter31.com/2007/04/10/cfquery-result-attribute-caveat/comment-page-1/#comment-14176</link>
		<dc:creator>Derek Versteegen</dc:creator>
		<pubDate>Fri, 06 Jul 2007 15:47:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/04/10/cfquery-result-attribute-caveat/#comment-14176</guid>
		<description>Nice find - works like a charm - thanks.</description>
		<content:encoded><![CDATA[<p>Nice find &#8211; works like a charm &#8211; thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher Wigginton</title>
		<link>http://www.chapter31.com/2007/04/10/cfquery-result-attribute-caveat/comment-page-1/#comment-5963</link>
		<dc:creator>Christopher Wigginton</dc:creator>
		<pubDate>Tue, 10 Apr 2007 14:40:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/04/10/cfquery-result-attribute-caveat/#comment-5963</guid>
		<description>bummer, there was some nice example code, but the blog stripped out the comments rather than encode the output. oh well.  The gist of it was to use result=&quot;this.result&quot; which sets a property of the cfc which persists with the object instance.</description>
		<content:encoded><![CDATA[<p>bummer, there was some nice example code, but the blog stripped out the comments rather than encode the output. oh well.  The gist of it was to use result=&#8221;this.result&#8221; which sets a property of the cfc which persists with the object instance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher Wigginton</title>
		<link>http://www.chapter31.com/2007/04/10/cfquery-result-attribute-caveat/comment-page-1/#comment-5961</link>
		<dc:creator>Christopher Wigginton</dc:creator>
		<pubDate>Tue, 10 Apr 2007 14:37:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/04/10/cfquery-result-attribute-caveat/#comment-5961</guid>
		<description>----- In the CFC cfquery tag


----------------------






This is just an example, you could certainly set a result name for each function/cfquery which would persist in the object instance.

The other option would be to combine the returned result and query as a deep structure




</description>
		<content:encoded><![CDATA[<p>&#8212;&#8211; In the CFC cfquery tag</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>This is just an example, you could certainly set a result name for each function/cfquery which would persist in the object instance.</p>
<p>The other option would be to combine the returned result and query as a deep structure</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: chapter31.nfshost.com @ 2012-02-09 08:12:53 -->
