title: How to remove json elements from response after sequelize creates a db record?
body: <p>Using sequelize, I can create a <code>product</code> in my database using the <code>Product</code> modek, but I want to edit the json response, removing the updatedAt and createdAt elements. How would I do this?</p>
  
  <p>My code:</p>
  
  <pre><code>router.post('/products', (req, res, next) =&gt; {
      Product.create({
          name: req.body.name,
          price: req.body.price
      }).then(
          product =&gt; res.status(200)
              .json(product)
      )
  });
  </code></pre>
  
  <p>When calling localhost:3000/products with this body:</p>
  
  <pre><code>{
      "name": "A Book",
      "price": 10.99,
  }
  </code></pre>
  
  <p>I get this in response:</p>
  
  <pre><code>{
      "id": 8,
      "name": "A Book",
      "price": 10.99,
      "updatedAt": "2018-06-26T20:09:38.643Z",  &lt;-- Remove?
      "createdAt": "2018-06-26T20:09:38.643Z"   &lt;-- Remove?
  }
  </code></pre>