123456789101112131415161718192021222324252627282930313233 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.MaxKey = void 0;
- var MaxKey = (function () {
- function MaxKey() {
- if (!(this instanceof MaxKey))
- return new MaxKey();
- }
-
- MaxKey.prototype.toExtendedJSON = function () {
- return { $maxKey: 1 };
- };
-
- MaxKey.fromExtendedJSON = function () {
- return new MaxKey();
- };
-
- MaxKey.prototype[Symbol.for('nodejs.util.inspect.custom')] = function () {
- return this.inspect();
- };
- MaxKey.prototype.inspect = function () {
- return 'new MaxKey()';
- };
- return MaxKey;
- }());
- exports.MaxKey = MaxKey;
- Object.defineProperty(MaxKey.prototype, '_bsontype', { value: 'MaxKey' });
|