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