@mikro-orm/core
Advanced tools
+1
-1
| { | ||
| "name": "@mikro-orm/core", | ||
| "version": "7.1.14-dev.6", | ||
| "version": "7.1.14-dev.7", | ||
| "description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -529,2 +529,6 @@ import { Collection } from '../entity/Collection.js'; | ||
| } | ||
| else if (prop.primary) { | ||
| // the referrer's primary key contains the removed entity, so its identity cannot survive the removal | ||
| this.unsetIdentity(referrer); | ||
| } | ||
| else { | ||
@@ -531,0 +535,0 @@ delete helper(referrer).__data[prop.name]; |
+1
-1
@@ -156,3 +156,3 @@ import { clone } from './clone.js'; | ||
| static PK_SEPARATOR = '~~~'; | ||
| static #ORM_VERSION = '7.1.14-dev.6'; | ||
| static #ORM_VERSION = '7.1.14-dev.7'; | ||
| /** | ||
@@ -159,0 +159,0 @@ * Checks if the argument is instance of `Object`. Returns false for arrays. |
1590251
0.02%33887
0.01%