metal-orm 1.0.64 → 1.0.66

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/dist/index.cjs CHANGED
@@ -11399,6 +11399,7 @@ var UnitOfWork = class {
11399
11399
  const key = findPrimaryKey(tracked.table);
11400
11400
  const val = tracked.entity[key];
11401
11401
  if (val === void 0 || val === null) return null;
11402
+ if (typeof val !== "string" && typeof val !== "number") return null;
11402
11403
  return val;
11403
11404
  }
11404
11405
  };