Comparing version 0.0.16 to 0.0.17
{ | ||
"name": "typeodm", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "ODM for MongoDB used Typescript", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -554,2 +554,24 @@ "use strict"; | ||
/** | ||
* Creates ObjectId object from a given objectId string. | ||
*/ | ||
}, { | ||
key: "createObjectIdFromString", | ||
value: function createObjectIdFromString(objectId) { | ||
return this.connection.driver.createObjectId(objectId, true); | ||
} | ||
/** | ||
* Creates array of ObjectId objects from a given objectId strings. | ||
*/ | ||
}, { | ||
key: "createObjectIdsFromStrings", | ||
value: function createObjectIdsFromStrings(objectIds) { | ||
var _this14 = this; | ||
return objectIds.map(function (id) { | ||
return _this14.connection.driver.createObjectId(id, true); | ||
}); | ||
} | ||
// ------------------------------------------------------------------------- | ||
@@ -556,0 +578,0 @@ // Private Methods |
Sorry, the diff of this file is too big to display
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
323919
6551