title: Sequelize BulkCreate Error
body: <p>I am trying to figure out how to use the bulkCreate method with my jQuery field values. Currently I am trying to pass the values of the fields in an array and expected each value to get parsed out into a new record, but it doesn't appear like this method works that way and as a result I receive an error:</p>
  
  <pre><code>Error during Post: SequelizeDatabaseError: ER_PARSE_ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '['Test 1','Test 2','Test 3'],'6','2016-02-01 03:26:59','2016-02-01 03:26:59')' at line 1
  </code></pre>
  
  <p>Is this because I should actually apply loop logic within the route to handle the different values? Should I change up the jQuery?</p>
  
  <p>view file (discoveryName is the field for bulkCreate):</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;head&gt;
      {{&gt; head}}
  &lt;/head&gt;
  &lt;body&gt;
      {{&gt; navigation}}
      &lt;div class="container"&gt;
          &lt;div class="col-md-6 col-md-offset-3"&gt;
              &lt;form action="/app/sign-up/organization" method="post"&gt;
                  &lt;p&gt;{{user.email}}&lt;/p&gt;
                  &lt;input type="hidden" name="admin" value="{{user.email}}"&gt;
                  &lt;input type="hidden" name="organizationId"&gt;
                  &lt;label for="sign-up-organization"&gt;Test Name&lt;/label&gt;
                  &lt;input type="text" class="form-control" id="sign-up-organization"  name="organizationName" value="" placeholder="Company/Organization"&gt;
                  &lt;a href="#" id="sign-up-add-discovery-source"&gt;Add Another&lt;/a&gt;
                  &lt;div id="sign-up-organization-discovery-source"&gt;
                      &lt;input type="text" id="discovery-source-field" placeholder="Discovery Source" name="discoverySource[0]"&gt;
                  &lt;/div&gt;
                  &lt;br /&gt;
                      &lt;button type="submit"&gt;Submit&lt;/button&gt;
              &lt;/form&gt;
              &lt;a href="/login"&gt;Already have an account? Login here!&lt;/a&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;script type="text/javascript"&gt;
          $(function() {
    var dataSourceField = $('#sign-up-organization-discovery-source');
    var i = $('#sign-up-organization-discovery-source p').size();
    var sourceCounter = 1;
  
    $('#sign-up-add-discovery-source').on('click', function() {
      $('&lt;p&gt;&lt;label for="discovery-source-field"&gt;&lt;input type="text" id="discovery-source-field" size="20" name="discoverySource[{'+ sourceCounter++ +'}]" value="" placeholder="Discovery Source" /&gt;&lt;/label&gt; &lt;a href="#" class="remove"&gt;Remove&lt;/a&gt;&lt;/p&gt;').appendTo(dataSourceField);
      i++;
      return false;
    });
    $('#sign-up-organization-discovery-source').on('click', '.remove', function() {
      if (i &gt; 1) {
        $(this).parent('p').remove();
        i--;
      }
      return false;
    });
  });
  
      &lt;/script&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>Route:</p>
  
  <pre><code>var express = require('express');
  var appRoutes   = express.Router();
  var passport = require('passport');
  var localStrategy = require('passport-local').Strategy;
  var models = require('../models/db-index');
  
  appRoutes.route('/sign-up/organization/discovery-source')
  
      .get(function(req, res){
          models.Organization.find({
              where: {
                  organizationId: req.user.organizationId
              }, attributes: ['organizationId']
          }).then(function(organization){
              res.render('pages/app/sign-up-discovery-source.hbs',{
                  organization: organization
              });
          });
      })
  
      .post(function(req, res){
          models.DiscoverySource.bulkCreate([
              { 
                  discoverySource: req.body.discoverySource,
                  organizationId: req.body.organizationId
               }
          ]).then(function(){
              return models.DiscoverySource.findAll();
          }).then(function(discoverySource){
              console.log(discoverySource);
              res.redirect('/app');
          }).catch(function(error){
              res.send(error);
              console.log('Error during Post: ' + error);
          });
      });
  </code></pre>
  
  <p>DiscoverySource model fields:</p>
  
  <pre><code>    discoverySourceId: {
          type: DataTypes.INTEGER,
          field: 'discovery_source_id',
          autoIncrement: true,
          primaryKey: true
      },
      discoverySource: {
          type: DataTypes.STRING,
          field: 'discovery_source'
      },
      organizationId: {
          type: DataTypes.TEXT,
          field: 'organization_id'
      },
  </code></pre>