feathers-sequelize
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -135,8 +135,8 @@ 'use strict'; | ||
key: 'create', | ||
value: function create(data) { | ||
value: function create(data, options) { | ||
if (Array.isArray(data)) { | ||
return this.Model.bulkCreate(data).catch(utils.errorHandler); | ||
return this.Model.bulkCreate(data, options).catch(utils.errorHandler); | ||
} | ||
return this.Model.create(data).catch(utils.errorHandler); | ||
return this.Model.create(data, options).catch(utils.errorHandler); | ||
} | ||
@@ -143,0 +143,0 @@ }, { |
{ | ||
"name": "feathers-sequelize", | ||
"description": "A service adapter for Sequelize an SQL ORM", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"homepage": "https://github.com/feathersjs/feathers-sequelize", | ||
@@ -6,0 +6,0 @@ "main": "lib/", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22242