diff options
Diffstat (limited to 'node_modules/mongoose/lib/options/removeOptions.js')
-rw-r--r-- | node_modules/mongoose/lib/options/removeOptions.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/node_modules/mongoose/lib/options/removeOptions.js b/node_modules/mongoose/lib/options/removeOptions.js new file mode 100644 index 0000000..0d91586 --- /dev/null +++ b/node_modules/mongoose/lib/options/removeOptions.js @@ -0,0 +1,14 @@ +'use strict'; + +const clone = require('../helpers/clone'); + +class RemoveOptions { + constructor(obj) { + if (obj == null) { + return; + } + Object.assign(this, clone(obj)); + } +} + +module.exports = RemoveOptions;
\ No newline at end of file |