Comparing version 2.16.0 to 2.16.1
@@ -368,3 +368,9 @@ /* UNIQORM | ||
where: this._prepareKeyValues(keyValues) | ||
}, options, {adjunct: true})); | ||
}, options, {adjunct: true})).then(ret => { | ||
if (ret.instances) { | ||
ret.instance = ret.instances[0]; | ||
delete ret.instances; | ||
} | ||
return ret; | ||
}); | ||
} | ||
@@ -371,0 +377,0 @@ |
{ | ||
"name": "uniqorm", | ||
"description": "Multi dialect and multi schema ORM framework for enterprise level NodeJS applications", | ||
"version": "2.16.0", | ||
"version": "2.16.1", | ||
"author": "Panates Ltd.", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
99043
3249