xpress-mongo
Advanced tools
Comparing version 0.0.16 to 0.0.17
{ | ||
"name": "xpress-mongo", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "Light Weight ODM for mongoDb", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -141,2 +141,12 @@ const XMongoUsing = require('./XMongoUsing'); | ||
/** | ||
* Check if id is a valid id | ||
* @param objectId | ||
* @return {boolean} | ||
*/ | ||
XMongoModel.isValidId = function (objectId) { | ||
return ObjectID.isValid(objectId) | ||
}; | ||
/** | ||
* Set Original result gotten from db | ||
@@ -143,0 +153,0 @@ * @param data |
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
46871
1404