@wmfs/pg-model
Advanced tools
Comparing version 1.26.2 to 1.26.3
@@ -0,1 +1,13 @@ | ||
## [1.26.3](https://github.com/wmfs/pg-model/compare/v1.26.2...v1.26.3) (2021-11-24) | ||
### 🐛 Bug Fixes | ||
* check where is not empty object ([110901f](https://github.com/wmfs/pg-model/commit/110901f5e26fbc70f19ef43df95c24527432cd45)) | ||
### ⚙️ Continuous Integrations | ||
* **travis:** remove old travis config ([5f2980a](https://github.com/wmfs/pg-model/commit/5f2980a7a84571e9e025a4f17a00cde901ef5343)) | ||
## [1.26.2](https://github.com/wmfs/pg-model/compare/v1.26.1...v1.26.2) (2021-08-04) | ||
@@ -2,0 +14,0 @@ |
@@ -38,3 +38,3 @@ const expressionTypeFormatters = { | ||
// ----- | ||
if (Object.prototype.hasOwnProperty.call(options, 'where')) { | ||
if (Object.prototype.hasOwnProperty.call(options, 'where') && Object.keys(options.where).length) { | ||
sql += buildWhereClause(options.where, propertyIdToColumn, values) | ||
@@ -41,0 +41,0 @@ } |
{ | ||
"name": "@wmfs/pg-model", | ||
"version": "1.26.2", | ||
"version": "1.26.3", | ||
"description": "Takes a relational database structure and returns model objects for noSQL-like abilities.", | ||
@@ -5,0 +5,0 @@ "author": "West Midlands Fire Service", |
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
165687
23