masterrecord 0.3.14 → 0.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/context.js +3 -0
- package/package.json +1 -1
package/context.js
CHANGED
|
@@ -988,6 +988,9 @@ class context {
|
|
|
988
988
|
case 'delete':
|
|
989
989
|
toDelete.push(currentModel);
|
|
990
990
|
break;
|
|
991
|
+
case 'track':
|
|
992
|
+
// Entity is tracked but unmodified - skip during saveChanges
|
|
993
|
+
break;
|
|
991
994
|
default:
|
|
992
995
|
console.warn(`[Context] Unknown entity state: ${currentModel.__state}`);
|
|
993
996
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "masterrecord",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.15",
|
|
4
4
|
"description": "An Object-relational mapping for the Master framework. Master Record connects classes to relational database tables to establish a database with almost zero-configuration ",
|
|
5
5
|
"main": "MasterRecord.js",
|
|
6
6
|
"bin": {
|