code: function create(instance, tx, callback) {
      var
          model = instance.__model,
          beforeCreate = model.__beforeCreate,
          params,
          value,
          sql;
      if (beforeCreate) {
          beforeCreate(instance);
      }
      // insert into TABLE () values (???)
      params = _.map(model.__insertAttributesArray, function (attr) {
          if (instance.hasOwnProperty(attr)) {
              return instance[attr];
          }
          var def = model.__attributes[attr];
          if (def.defaultValue !== undefined) {
              value = def.defaultValueIsFunction ? def.defaultValue() : def.defaultValue;
              instance[attr] = value;
              return value;
          }
          instance[attr] = null;
          return null;
      });
      sql = utils.format('insert into `%s` (%s) values(%s)', model.__table, model.__insertAttributesNames, utils.createPlaceholders(model.__insertAttributesArray.length));
      smartRunSQL(model.__pool, sql, params, tx, function (err, result) {
          if (err) {
              return callback(err);
          }
          if (model.__fetchInsertId) {
              instance[model.__primaryKey] = result.insertId;
          }
          callback(null, instance);
      });
  }
docs: create an instance data: