title: Node.js => TypeError: Object [object Object] has no method 'save'
body: <p>I'm new to Node.js and i'm trying to run a sort of insert query. Here is my code:</p>
  
  <pre><code>exports.savetea = function(req, res){
  
  var quantity = req.query.quantity;
  
  var Sequelize = require('sequelize');
  var sequelize = new Sequelize('nodehmssm', 'root', 'root', {host: "localhost", port: 3306, dialect: 'mysql'});
  
  var Tea = sequelize.import(__dirname + "/model/tea");
  
  Tea.build({quantity: quantity, status: "active"}).save();
  
  res.send("Tea added...");
  };
  </code></pre>
  
  <p>My tea.js file is as follows:</p>
  
  <pre><code>module.exports = function(sequelize, DataTypes) {
  return sequelize.define("tea", {
      id : DataTypes.INTEGER,
      quantity : DataTypes.INTEGER,
      status : DataTypes.STRING,
      created_at : DataTypes.DATE
  });
  };
  </code></pre>
  
  <p>Whenever I run the code, I get the error</p>
  
  <blockquote>
    <p>TypeError: Object [object Object] has no method 'save'</p>
  </blockquote>
  
  <p>Also to mention, the settings are good as I can run the login code <strong>select * from where...</strong></p>
  
  <p>What am I doing wrong?</p>