Commit With Frontend and Backend in MERN
This commit is contained in:
10
backend/node_modules/mongoose/lib/helpers/populate/skipPopulateValue.js
generated
vendored
Normal file
10
backend/node_modules/mongoose/lib/helpers/populate/skipPopulateValue.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function SkipPopulateValue(val) {
|
||||
if (!(this instanceof SkipPopulateValue)) {
|
||||
return new SkipPopulateValue(val);
|
||||
}
|
||||
|
||||
this.val = val;
|
||||
return this;
|
||||
};
|
||||
Reference in New Issue
Block a user