<?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 QueryParameters with AND condition in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/queryparameters-with-and-condition/m-p/1068826#M5532</link>
    <description>&lt;P&gt;Hi! I tried to use query parameters for getting a feature list by query. In case if I use AND parameter is SQL, I get an inconsistent result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is AND condition works?&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;val &lt;/SPAN&gt;visibleParams = QueryParameters()&lt;BR /&gt;visibleParams.&lt;SPAN&gt;whereClause = &lt;/SPAN&gt;shortname IN ('short_test') AND subdivision IN ('division1', 'division2')&lt;/PRE&gt;</description>
    <pubDate>Wed, 16 Jun 2021 11:53:44 GMT</pubDate>
    <dc:creator>AleksandrGorshkov</dc:creator>
    <dc:date>2021-06-16T11:53:44Z</dc:date>
    <item>
      <title>QueryParameters with AND condition</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/queryparameters-with-and-condition/m-p/1068826#M5532</link>
      <description>&lt;P&gt;Hi! I tried to use query parameters for getting a feature list by query. In case if I use AND parameter is SQL, I get an inconsistent result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is AND condition works?&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;val &lt;/SPAN&gt;visibleParams = QueryParameters()&lt;BR /&gt;visibleParams.&lt;SPAN&gt;whereClause = &lt;/SPAN&gt;shortname IN ('short_test') AND subdivision IN ('division1', 'division2')&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Jun 2021 11:53:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/queryparameters-with-and-condition/m-p/1068826#M5532</guid>
      <dc:creator>AleksandrGorshkov</dc:creator>
      <dc:date>2021-06-16T11:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: QueryParameters with AND condition</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/queryparameters-with-and-condition/m-p/1069646#M5537</link>
      <description>&lt;P&gt;The AND operator should work and return consistent results. I tried modifying the below sample to use AND condition in query clause and it returned consistent result.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-android/blob/main/java/feature-layer-query/src/main/java/com/esri/arcgisruntime/sample/featurelayerquery/MainActivity.java#L108" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-android/blob/main/java/feature-layer-query/src/main/java/com/esri/arcgisruntime/sample/featurelayerquery/MainActivity.java#L108&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Changed above where condition as below,&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;query&lt;/SPAN&gt;.setWhereClause(&lt;SPAN&gt;"upper(STATE_NAME) LIKE '%" &lt;/SPAN&gt;+ searchString.toUpperCase() + &lt;SPAN&gt;"%' AND TOTPOP_CY &amp;gt; 1000000"&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Could you repro the issue you are encountering using the service from above sample?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Rama&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 23:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/queryparameters-with-and-condition/m-p/1069646#M5537</guid>
      <dc:creator>RamaChintapalli</dc:creator>
      <dc:date>2021-06-17T23:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: QueryParameters with AND condition</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/queryparameters-with-and-condition/m-p/1070332#M5539</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/17660"&gt;@RamaChintapalli&lt;/a&gt;&amp;nbsp;hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found that NOT IN operator give me inconsistent result:&lt;/P&gt;&lt;LI-CODE lang="kotlin"&gt;crop_shortname NOT IN ('short_name1') AND subdivision NOT IN ('sub1')&lt;/LI-CODE&gt;&lt;P&gt;Are NOT IN should work properly?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 08:16:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/queryparameters-with-and-condition/m-p/1070332#M5539</guid>
      <dc:creator>AleksandrGorshkov</dc:creator>
      <dc:date>2021-06-21T08:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: QueryParameters with AND condition</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/queryparameters-with-and-condition/m-p/1071757#M5542</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/137410"&gt;@AleksandrGorshkov&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;All SQL operations supported by service/local SQLite geodatabase are expected to work. I just tried NOT IN operator on another FeatureService which worked consistently.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can also contact our &lt;A href="https://support.esri.com/en?rsource=https%3A%2F%2Fwww.esri.com%2Fsupport" target="_self"&gt;support team&lt;/A&gt; and they will be able to debug through your data and see where the problem exactly is.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rama&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 22:52:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/queryparameters-with-and-condition/m-p/1071757#M5542</guid>
      <dc:creator>RamaChintapalli</dc:creator>
      <dc:date>2021-06-23T22:52:30Z</dc:date>
    </item>
  </channel>
</rss>

