@azrico/webobject 1.4.65 → 1.4.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.
|
@@ -939,7 +939,7 @@ var SimpleObject = /*#__PURE__*/function (_MapableObject, _setValue, _setSubValu
|
|
|
939
939
|
if (o._bsontype == "ObjectID" && typeof o.toString === "function") {
|
|
940
940
|
return o.toString();
|
|
941
941
|
}
|
|
942
|
-
return String(o._id || o.
|
|
942
|
+
return String(o._id || o.insertedId || o.ID || o.id || o.__data_id || "");
|
|
943
943
|
case "string":
|
|
944
944
|
case "number":
|
|
945
945
|
return String(o);
|