max_key.js 276 B

1234567891011121314
  1. /**
  2. * A class representation of the BSON MaxKey type.
  3. *
  4. * @class
  5. * @return {MaxKey} A MaxKey instance
  6. */
  7. function MaxKey() {
  8. if(!(this instanceof MaxKey)) return new MaxKey();
  9. this._bsontype = 'MaxKey';
  10. }
  11. module.exports = MaxKey;
  12. module.exports.MaxKey = MaxKey;