@spinajs/orm
Advanced tools
Comparing version 1.2.179 to 1.2.180
@@ -669,3 +669,8 @@ "use strict"; | ||
for (const m of data) { | ||
await m.insert(mode); | ||
if (m.PrimaryKeyValue) { | ||
await m.update(); | ||
} | ||
else { | ||
await m.insert(mode); | ||
} | ||
} | ||
@@ -672,0 +677,0 @@ this.push(...data); |
{ | ||
"name": "@spinajs/orm", | ||
"version": "1.2.179", | ||
"version": "1.2.180", | ||
"description": "framework orm module", | ||
@@ -55,3 +55,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "4093c99d30a6518ff984902da1c426a2f8471b9d" | ||
"gitHead": "e458bf24652e46764c934ba88463fab0ce803a4d" | ||
} |
Sorry, the diff of this file is not supported yet
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
383620
6617