Comparing version 2.14.4 to 2.14.5
@@ -27,3 +27,4 @@ /* UNIQORM | ||
normalizeFindOptions, | ||
mapConditions | ||
mapConditions, | ||
makeArray | ||
} = require('./helpers'); | ||
@@ -54,2 +55,3 @@ const {ValidationError} = require('./errors'); | ||
* @param {Object} [def.associations] | ||
* @param {Array<string>} [def.defaultSort] | ||
*/ | ||
@@ -77,2 +79,3 @@ constructor(schema, def) { | ||
this._keyFields = null; | ||
this._defaultSort = makeArray(def.defaultSort); | ||
@@ -275,2 +278,3 @@ if (def.associations) { | ||
opts.trace = options.trace; | ||
opts.sort = opts.sort || this._defaultSort; | ||
/* istanbul ignore next */ | ||
@@ -277,0 +281,0 @@ opts.where = opts.where || opts.filter; // backward support |
{ | ||
"name": "uniqorm", | ||
"description": "Multi dialect and multi schema ORM framework for enterprise level NodeJS applications", | ||
"version": "2.14.4", | ||
"version": "2.14.5", | ||
"author": "Panates Ltd.", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
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
94410
3100