<?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 Datastore query in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Datastore-query/m-p/39075#M1223</link>
    <description>&lt;P&gt;I am using datastore in my application. It works great. But i don't know how to use the filters (query) in this API.&lt;/P&gt;

&lt;P&gt;I need to get all the records which are 'createdDate' greater than the given date.&lt;/P&gt;

&lt;P&gt;I use the following code.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; NSDictionary *query = @{
                      @"createdDate":filterDate
                      };

 [testTbl get:query];
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But it return only the records which are created date same as the given filter date.&lt;/P&gt;

&lt;P&gt;Pls let me know how to query this.&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:44:59 GMT</pubDate>
    <dc:creator>Anburaj K.</dc:creator>
    <dc:date>2019-05-29T09:44:59Z</dc:date>
    <item>
      <title>Datastore query</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Datastore-query/m-p/39075#M1223</link>
      <description>&lt;P&gt;I am using datastore in my application. It works great. But i don't know how to use the filters (query) in this API.&lt;/P&gt;

&lt;P&gt;I need to get all the records which are 'createdDate' greater than the given date.&lt;/P&gt;

&lt;P&gt;I use the following code.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; NSDictionary *query = @{
                      @"createdDate":filterDate
                      };

 [testTbl get:query];
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But it return only the records which are created date same as the given filter date.&lt;/P&gt;

&lt;P&gt;Pls let me know how to query this.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:44:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Datastore-query/m-p/39075#M1223</guid>
      <dc:creator>Anburaj K.</dc:creator>
      <dc:date>2019-05-29T09:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Datastore query</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Datastore-query/m-p/39076#M1224</link>
      <description>&lt;P&gt;Do you mean something like &lt;CODE&gt;[testTbl query:query error:nil]&lt;/CODE&gt;?&lt;/P&gt;

&lt;P&gt;In any case, the &lt;CODE&gt;query&lt;/CODE&gt; method only supports equality, so there's no way to have it do the query you want. You'll just need to loop over all the records yourself. (Everything's local and in memory, so this is quite efficient and roughly what the &lt;CODE&gt;query&lt;/CODE&gt; method itself does.)&lt;/P&gt;</description>
      <pubDate>Sat, 21 Feb 2015 15:11:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Datastore-query/m-p/39076#M1224</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2015-02-21T15:11:39Z</dc:date>
    </item>
  </channel>
</rss>

