summaryrefslogtreecommitdiffstats
path: root/node_modules/mongoose/lib/options/removeOptions.js
blob: 0d9158645004a86ee97a99f508dfef93f4b4a691 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'use strict';

const clone = require('../helpers/clone');

class RemoveOptions {
  constructor(obj) {
    if (obj == null) {
      return;
    }
    Object.assign(this, clone(obj));
  }
}

module.exports = RemoveOptions;