<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Enhancement request - provide break clause in queryTask.executeForCount in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/enhancement-request-provide-break-clause-in/m-p/84097#M7615</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The queryTask method executeForCount returns the number of features which satisfy the query. This can take a long time to run when many features are returned (even when the returnGeometry option is set to false).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could we have a new "break" option, so that the query stops when a minimum number of features has been found?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, say I want to know if there are more than 100 features returned by the query. If the query returns 10,000 features I need to wait until it has finished before I can evaluate the result. I'd like the option for the executeForCount method to break as soon as it finds 100 features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS I also added this on the Ideas page at &lt;/SPAN&gt;&lt;A href="http://ideas.arcgis.com/ideaView?id=08730000000bmf3"&gt;http://ideas.arcgis.com/ideaView?id=08730000000bmf3&lt;/A&gt;&lt;SPAN&gt; so please vote for this if you like the idea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 May 2011 22:44:52 GMT</pubDate>
    <dc:creator>StephenLead</dc:creator>
    <dc:date>2011-05-09T22:44:52Z</dc:date>
    <item>
      <title>Enhancement request - provide break clause in queryTask.executeForCount</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/enhancement-request-provide-break-clause-in/m-p/84097#M7615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The queryTask method executeForCount returns the number of features which satisfy the query. This can take a long time to run when many features are returned (even when the returnGeometry option is set to false).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could we have a new "break" option, so that the query stops when a minimum number of features has been found?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, say I want to know if there are more than 100 features returned by the query. If the query returns 10,000 features I need to wait until it has finished before I can evaluate the result. I'd like the option for the executeForCount method to break as soon as it finds 100 features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS I also added this on the Ideas page at &lt;/SPAN&gt;&lt;A href="http://ideas.arcgis.com/ideaView?id=08730000000bmf3"&gt;http://ideas.arcgis.com/ideaView?id=08730000000bmf3&lt;/A&gt;&lt;SPAN&gt; so please vote for this if you like the idea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 22:44:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/enhancement-request-provide-break-clause-in/m-p/84097#M7615</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-05-09T22:44:52Z</dc:date>
    </item>
  </channel>
</rss>

