@knorm/knorm
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -0,1 +1,11 @@ | ||
<a name="1.4.2"></a> | ||
## [1.4.2](https://github.com/knorm/knorm/compare/v1.4.1...v1.4.2) (2018-08-16) | ||
### Bug Fixes | ||
* **Query:** fix handling of string options ([2125f6e](https://github.com/knorm/knorm/commit/2125f6e)) | ||
<a name="1.4.1"></a> | ||
@@ -2,0 +12,0 @@ |
@@ -134,5 +134,2 @@ const { difference } = require('lodash'); | ||
// TODO: make `fields` and `returning` synonymns i.e. such that can use | ||
// `returning` in a fetch query and vice-versa | ||
returning(...fields) { | ||
@@ -422,3 +419,3 @@ return this.addFields(fields); | ||
if (!values.length) { | ||
if (!isArray(values) || !values.length) { | ||
return; | ||
@@ -425,0 +422,0 @@ } |
{ | ||
"name": "@knorm/knorm", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "A purely ES6 class-based ORM for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
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
433040
9840