title: Django .delete() method after .all()
body: <p>Imagine 2 lines:</p>
  
  <pre><code>Model.objects.all().delete()
  </code></pre>
  
  <p>and</p>
  
  <pre><code>Model.objects.delete()
  </code></pre>
  
  <p>Is there any difference in the execution flow? DB server is Mysql (Amazon RDBMS).</p>
  
  <p>Will the first line firstly load all the objects, and delete them one by one? Or 'truncate' command will be executed?</p>
  
  <p>And, <strong>most important</strong> - what if the first line will be interrupted during its execution for some reasons? For example, we have a big table with lots of records. If we execute the first line and the script will be killed - does it mean that some records will be deleted, and some - not?</p>
  
  <p>Thank you!</p>