Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/node_modules.10/mongoose/lib/drivers/browser/
Upload File :
Current File : /home/infinitibizsol/.trash/node_modules.10/mongoose/lib/drivers/browser/objectid.js

/*!
 * [node-mongodb-native](https://github.com/mongodb/node-mongodb-native) ObjectId
 * @constructor NodeMongoDbObjectId
 * @see ObjectId
 */

'use strict';

const ObjectId = require('bson').ObjectID;

/**
 * Getter for convenience with populate, see gh-6115
 * @api private
 */

Object.defineProperty(ObjectId.prototype, '_id', {
  enumerable: false,
  configurable: true,
  get: function() {
    return this;
  }
});

/*!
 * ignore
 */

module.exports = exports = ObjectId;

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists