<?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 Re: Query against a Geodatabase object in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/query-against-a-geodatabase-object/m-p/794982#M1757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sree,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the info. I'll "solve" the problem temporarily with the QueryFilter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know, by when you think the support for QueryDefs will come?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Aug 2015 11:35:53 GMT</pubDate>
    <dc:creator>ChristophSpoerri</dc:creator>
    <dc:date>2015-08-31T11:35:53Z</dc:date>
    <item>
      <title>Query against a Geodatabase object</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/query-against-a-geodatabase-object/m-p/794980#M1755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are rewriting some existing ArcObject code for ArcGIS Pro. We have now some code which uses a IQueryDef to run some select statement against a IWorkspace object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code looks something link this:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;var queryDef = workspace.CreateQueryDef();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;queryDef.Tables = "mytable";&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;queryDef.SubFields = "name, value1, value2";&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;queryDef.WhereClause = "refId in (1,2,3)";&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;queryDef.PostfixClause = " order by value1";&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;var cursor = queryDef.Evaluate();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;I was now wondering, how we can achive the same with the ArcGIS Pro SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Aug 2015 12:37:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/query-against-a-geodatabase-object/m-p/794980#M1755</guid>
      <dc:creator>ChristophSpoerri</dc:creator>
      <dc:date>2015-08-23T12:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Query against a Geodatabase object</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/query-against-a-geodatabase-object/m-p/794981#M1756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christoph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do not have support for QueryDefs yet. But the above can be achieved using the QueryFilter and Search on the corresponding table (as long as Joins or Aggregates are not involved).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see &lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Geodatabase#queryfilter" title="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Geodatabase#queryfilter"&gt;ProConcepts Geodatabase · Esri/arcgis-pro-sdk Wiki · GitHub&lt;/A&gt; for an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 19:14:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/query-against-a-geodatabase-object/m-p/794981#M1756</guid>
      <dc:creator>SreevatsaSreeraman</dc:creator>
      <dc:date>2015-08-24T19:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Query against a Geodatabase object</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/query-against-a-geodatabase-object/m-p/794982#M1757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sree,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the info. I'll "solve" the problem temporarily with the QueryFilter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know, by when you think the support for QueryDefs will come?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 11:35:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/query-against-a-geodatabase-object/m-p/794982#M1757</guid>
      <dc:creator>ChristophSpoerri</dc:creator>
      <dc:date>2015-08-31T11:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Query against a Geodatabase object</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/query-against-a-geodatabase-object/m-p/794983#M1758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have it in our backlog as one of the high(er) priority items and looking to include it in a future release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This might not be too helpful, but there it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 17:05:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/query-against-a-geodatabase-object/m-p/794983#M1758</guid>
      <dc:creator>SreevatsaSreeraman</dc:creator>
      <dc:date>2015-08-31T17:05:09Z</dc:date>
    </item>
  </channel>
</rss>

