<?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 QueryFilter OFFSET and FETCH in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/queryfilter-offset-and-fetch/m-p/1254071#M9381</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am attempting to use a QueryFilter to query a Feature Service Feature Class with the ArcGIS Pro 2.9 API. Using the GetSQLSyntax() and GetSupportedClauses(), I am able to determine the ORDER BY clause is supported. The ORDER BY clause functions properly when simply adding the sorted field names in the QueryFilter PostfixClause.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; For example: ORDER BY FILED1, FIELD2&lt;/P&gt;&lt;P&gt;However, I would like to use the OFFSET and FETCH options of the ORDER BY clause to control the query results.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; For example: ORDER BY FILED1, FIELD2 OFFSET 0 ROWS FETCH NEXT 200 ROWS ONLY&lt;/P&gt;&lt;P&gt;Is it possible to use the OFFSET and FETCH options of the ORDER BY clause when querying the Feature Service Feature Class using a QueryFilter? If so, is there a specific syntax that needs to be used for it to function properly?&lt;/P&gt;&lt;P&gt;I have been having trouble determining if the ORDER BY OFFSET and FETCH options are supported when querying feature services. The Query (Map Service/Layer) REST endpoint supports resultOffset and resultRecordCount at enterprise 10.3. So, I would like to assume OFFSET and FETCH is supported in the ArcGIS Pro 2.9 API, but I cannot find any documentation.&lt;/P&gt;&lt;P&gt;Thanks for any help, Jon&lt;/P&gt;</description>
    <pubDate>Wed, 01 Feb 2023 21:16:40 GMT</pubDate>
    <dc:creator>JonathanBurmeister</dc:creator>
    <dc:date>2023-02-01T21:16:40Z</dc:date>
    <item>
      <title>QueryFilter OFFSET and FETCH</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/queryfilter-offset-and-fetch/m-p/1254071#M9381</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am attempting to use a QueryFilter to query a Feature Service Feature Class with the ArcGIS Pro 2.9 API. Using the GetSQLSyntax() and GetSupportedClauses(), I am able to determine the ORDER BY clause is supported. The ORDER BY clause functions properly when simply adding the sorted field names in the QueryFilter PostfixClause.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; For example: ORDER BY FILED1, FIELD2&lt;/P&gt;&lt;P&gt;However, I would like to use the OFFSET and FETCH options of the ORDER BY clause to control the query results.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; For example: ORDER BY FILED1, FIELD2 OFFSET 0 ROWS FETCH NEXT 200 ROWS ONLY&lt;/P&gt;&lt;P&gt;Is it possible to use the OFFSET and FETCH options of the ORDER BY clause when querying the Feature Service Feature Class using a QueryFilter? If so, is there a specific syntax that needs to be used for it to function properly?&lt;/P&gt;&lt;P&gt;I have been having trouble determining if the ORDER BY OFFSET and FETCH options are supported when querying feature services. The Query (Map Service/Layer) REST endpoint supports resultOffset and resultRecordCount at enterprise 10.3. So, I would like to assume OFFSET and FETCH is supported in the ArcGIS Pro 2.9 API, but I cannot find any documentation.&lt;/P&gt;&lt;P&gt;Thanks for any help, Jon&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 21:16:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/queryfilter-offset-and-fetch/m-p/1254071#M9381</guid>
      <dc:creator>JonathanBurmeister</dc:creator>
      <dc:date>2023-02-01T21:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: QueryFilter OFFSET and FETCH</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/queryfilter-offset-and-fetch/m-p/1273894#M9590</link>
      <description>&lt;P&gt;Unfortunately, the Offset and Fetch clauses still need to be supported in the QueryFilter and planned for future releases.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 21:35:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/queryfilter-offset-and-fetch/m-p/1273894#M9590</guid>
      <dc:creator>Aashis</dc:creator>
      <dc:date>2023-03-30T21:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: QueryFilter OFFSET and FETCH</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/queryfilter-offset-and-fetch/m-p/1315335#M10144</link>
      <description>&lt;P&gt;Thanks for the reply&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 22:07:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/queryfilter-offset-and-fetch/m-p/1315335#M10144</guid>
      <dc:creator>JonathanBurmeister</dc:creator>
      <dc:date>2023-08-03T22:07:39Z</dc:date>
    </item>
  </channel>
</rss>

