<?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 Bulk remove keys from the Persistence Store in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Bulk-remove-keys-from-the-Persistence-Store/m-p/201099#M103</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;when using&amp;nbsp;&lt;A href="https://developer.dynatrace.com/develop/data/state/" target="_blank" rel="noopener"&gt;https://developer.dynatrace.com/develop/data/state/&lt;/A&gt;, we found out that we sometimes need to remove multiple keys at once - most of the times, related to the modification date.&lt;/P&gt;
&lt;P&gt;We are right now querying for all the keys with some filter, and then we're removing them one by one (or better, in junks using multiple promises at once).&lt;/P&gt;
&lt;P&gt;Is there a better option?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 02 May 2023 13:15:00 GMT</pubDate>
    <dc:creator>david_petroni</dc:creator>
    <dc:date>2023-05-02T13:15:00Z</dc:date>
    <item>
      <title>Bulk remove keys from the Persistence Store</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Bulk-remove-keys-from-the-Persistence-Store/m-p/201099#M103</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;when using&amp;nbsp;&lt;A href="https://developer.dynatrace.com/develop/data/state/" target="_blank" rel="noopener"&gt;https://developer.dynatrace.com/develop/data/state/&lt;/A&gt;, we found out that we sometimes need to remove multiple keys at once - most of the times, related to the modification date.&lt;/P&gt;
&lt;P&gt;We are right now querying for all the keys with some filter, and then we're removing them one by one (or better, in junks using multiple promises at once).&lt;/P&gt;
&lt;P&gt;Is there a better option?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 13:15:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Bulk-remove-keys-from-the-Persistence-Store/m-p/201099#M103</guid>
      <dc:creator>david_petroni</dc:creator>
      <dc:date>2023-05-02T13:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk remove keys from the Persistence Store</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Bulk-remove-keys-from-the-Persistence-Store/m-p/201144#M105</link>
      <description>&lt;P&gt;Hi David,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To my knowledge, there's no better option for now.&amp;nbsp;&lt;BR /&gt;I'll double-check this with the responsible team when they return from winter vacation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 09:13:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Bulk-remove-keys-from-the-Persistence-Store/m-p/201144#M105</guid>
      <dc:creator>christian_barth</dc:creator>
      <dc:date>2022-12-28T09:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk remove keys from the Persistence Store</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Bulk-remove-keys-from-the-Persistence-Store/m-p/203486#M142</link>
      <description>&lt;P&gt;Hi, a "delete everything" operation has been added this sprint! (not yet available on demo dev but should be there soon, please stay tuned)&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 11:51:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Bulk-remove-keys-from-the-Persistence-Store/m-p/203486#M142</guid>
      <dc:creator>michael_k</dc:creator>
      <dc:date>2023-01-26T11:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk remove keys from the Persistence Store</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Bulk-remove-keys-from-the-Persistence-Store/m-p/207124#M226</link>
      <description>&lt;P&gt;Hello Michael, FYI, we would like to have a delete using a filter, not a delete everything operation. So basically something with this signature:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;deleteAppStates(config: {
  filter?: string;
  abortSignal?: AbortSignal;
}): Promise&amp;lt;void&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;The option to remove everything is not really useful for us, but thanks for letting me know &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 10:14:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Bulk-remove-keys-from-the-Persistence-Store/m-p/207124#M226</guid>
      <dc:creator>david_petroni</dc:creator>
      <dc:date>2023-03-16T10:14:58Z</dc:date>
    </item>
  </channel>
</rss>

