title: Unhandled rejection Error: A model cannot be destroyed without a "where" clause or an idAttribute
body: <p>I'm using bookshelf.js and trying to delete some registers.</p>
  
  <p>My code:</p>
  
  <pre><code> bookshelf.Model.extend({
     tableName : "campaign_target_interests" 
   //campaign.id = 3
   }).collection({campaign : campaign.id}).invokeThen('destroy').then(function(){
      console.log('Deleted');
   })
  </code></pre>
  
  <p>But it returns me the following error: </p>
  
  <pre><code>Unhandled rejection Error: A model cannot be destroyed without a "where" clause or an idAttribute.
  </code></pre>
  
  <p>What can I do?
  Thanks.</p>