title: How do I print out the table name of a sequelize instance?
body: <p>I would like to print out the table name of an instance that I query with sequelize:</p>
  
  <pre><code>models.User.findById(id).then(user =&gt; {
      console.log('instance type is, ', user.getTableName || user.getType)) // =&gt; instance type is, users
  }
  </code></pre>
  
  <p>Is there any way to print out the table name of an instance? Is there any way to print out the model name of an instance? I've searched the docs and cannot find the API for the above. </p>