<?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 Any modern way to &amp;quot;save&amp;quot; deleted rows to prevent accidental data loss? (MySQL + Javascript) in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Any-modern-way-to-quot-save-quot-deleted-rows-to-prevent/m-p/74829#M46572</link>
    <description>&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Hi,&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;I am building a project that relies on data that arrives from the internet, thing is there can be modifications in which case I need to delete rows.&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;This is done automatically by a script, but I want to prevent a case in which all the data is deleted.&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;I have a few mechanisms to prevent it from happening, but still the fact I have a line that says "Delete everything that is not in this array" scares me.&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Is there a way to save those deleted rows somewhere? I saw on stack overflow a solution from 2010 to either create a new table to store deleted rows or add a collum to see if active/inactive, but then I need to modify all the queries to handle it.&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Or maybe my best bet is to just create a backup of the table before executing the update method?&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jan 2021 13:48:38 GMT</pubDate>
    <dc:creator>Birdie1</dc:creator>
    <dc:date>2021-01-27T13:48:38Z</dc:date>
    <item>
      <title>Any modern way to "save" deleted rows to prevent accidental data loss? (MySQL + Javascript)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Any-modern-way-to-quot-save-quot-deleted-rows-to-prevent/m-p/74829#M46572</link>
      <description>&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Hi,&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;I am building a project that relies on data that arrives from the internet, thing is there can be modifications in which case I need to delete rows.&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;This is done automatically by a script, but I want to prevent a case in which all the data is deleted.&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;I have a few mechanisms to prevent it from happening, but still the fact I have a line that says "Delete everything that is not in this array" scares me.&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Is there a way to save those deleted rows somewhere? I saw on stack overflow a solution from 2010 to either create a new table to store deleted rows or add a collum to see if active/inactive, but then I need to modify all the queries to handle it.&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Or maybe my best bet is to just create a backup of the table before executing the update method?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 13:48:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Any-modern-way-to-quot-save-quot-deleted-rows-to-prevent/m-p/74829#M46572</guid>
      <dc:creator>Birdie1</dc:creator>
      <dc:date>2021-01-27T13:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Any modern way to "save" deleted rows to prevent accidental data loss? (MySQL + Javasc</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Any-modern-way-to-quot-save-quot-deleted-rows-to-prevent/m-p/75820#M47320</link>
      <description>&lt;P&gt;If you add a trigger to save the data in a separate table you do not need to change your application code. You can also check &lt;A href="https://vikingclothing.net/" target="_self"&gt;this site.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 15:53:08 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Any-modern-way-to-quot-save-quot-deleted-rows-to-prevent/m-p/75820#M47320</guid>
      <dc:creator>keveinleo</dc:creator>
      <dc:date>2021-04-15T15:53:08Z</dc:date>
    </item>
  </channel>
</rss>

