Comparing version 0.9.8-beta to 0.9.9-beta
@@ -90,3 +90,3 @@ "use strict"; | ||
if (((_c = (_b = (_a = this.modelClass.tableAttributes[param]) === null || _a === void 0 ? void 0 : _a.type) === null || _b === void 0 ? void 0 : _b.toString) === null || _c === void 0 ? void 0 : _c.call(_b)) === 'INTEGER' && model.sequelize.options.dialect === 'postgresql') | ||
dataProvider.query.where[Op.and] = sequelize_1.Sequelize.literal(`${this.modelClass.name}.${param} LIKE '%${params[this.modelClass.name][param]}%'`); | ||
dataProvider.query.where[Op.and] = sequelize_1.Sequelize.literal(`${this.modelClass.name}.${param}::text LIKE '%${params[this.modelClass.name][param]}%'`); | ||
else | ||
@@ -93,0 +93,0 @@ dataProvider.query.where[param] = { [Op.like]: `%${params[this.modelClass.name][param]}%` }; |
{ | ||
"name": "pwoli", | ||
"version": "0.9.8-beta", | ||
"version": "0.9.9-beta", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
1439315