Commit With Frontend and Backend in MERN
This commit is contained in:
16
backend/node_modules/mongoose/lib/options/saveOptions.js
generated
vendored
Normal file
16
backend/node_modules/mongoose/lib/options/saveOptions.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
const clone = require('../helpers/clone');
|
||||
|
||||
class SaveOptions {
|
||||
constructor(obj) {
|
||||
if (obj == null) {
|
||||
return;
|
||||
}
|
||||
Object.assign(this, clone(obj));
|
||||
}
|
||||
}
|
||||
|
||||
SaveOptions.prototype.__subdocs = null;
|
||||
|
||||
module.exports = SaveOptions;
|
||||
Reference in New Issue
Block a user