title: Flask Sqlalchemy add multiple row
body: <p>I am using flask-restful this is
  My class I want to insert</p>
  
  <pre><code>class OrderHistoryResource(Resource):
  
      model = OrderHistoryModel
      schema = OrderHistorySchema
      order = OrderModel
      product = ProductModel
  
      def post(self):
          value = req.get_json()
          data = cls.schema(many=True).load(value)  
          data.insert()
  </code></pre>
  
  <p>In my model</p>
  
  <pre><code>def insert(self):
      db.session.add(self)
      db.session.commit()
  </code></pre>
  
  <p>schema </p>
  
  <pre><code>from config.ma import ma
  from model.orderhistory import OrderHistoryModel
  
  class OrderHistorySchema(ma.ModelSchema):
      class Meta:
          model = OrderHistoryModel
          include_fk = True
  </code></pre>
  
  <p>Example Data I want to insert</p>
  
  <pre><code>[
      {
          "quantity":99,
          "flaskSaleStatus":true,
          "orderId":"ORDER_64a79028d1704406b6bb83b84ad8c02a_1568776516",
          "proId":"PROD_9_1568779885_64a79028d1704406b6bb83b84ad8c02a"
       },
       {
          "quantity":89,
          "flaskSaleStatus":true,
          "orderId":"ORDER_64a79028d1704406b6bb83b84ad8c02a_1568776516",
          "proId":"PROD_9_1568779885_64a79028d1704406b6bb83b84ad8c02a"
       }
  ]
  </code></pre>
  
  <p>this is what i got after insert method has started </p>
  
  <pre><code>TypeError: insert() takes exactly 2 arguments (0 given)
  </code></pre>
  
  <p>or there is another way to do this action?</p>