title: Truncate a SQLite table if it exists?
body: <p>To truncate a table in SQLite I need to use this syntax:</p>
  
  <pre><code>DELETE FROM someTable
  </code></pre>
  
  <p>But how do I truncate the table only if it exists?</p>
  
  <p>Unfortunately this throws an error:</p>
  
  <pre><code>DELETE FROM someTable IF EXISTS
  </code></pre>
  
  <p>This doesn't work either:</p>
  
  <pre><code>DELETE IF EXISTS FROM someTable
  </code></pre>
  
  <p>Thanks.</p>