LittleDemon WebShell


Linux premium331.web-hosting.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
Path : /home/livedhms/lmgt/node_modules/bson/src/
File Upload :
Command :
Current File : /home/livedhms/lmgt/node_modules/bson/src/min_key.ts

import { BSONValue } from './bson_value';

/** @public */
export interface MinKeyExtended {
  $minKey: 1;
}

/**
 * A class representation of the BSON MinKey type.
 * @public
 * @category BSONType
 */
export class MinKey extends BSONValue {
  get _bsontype(): 'MinKey' {
    return 'MinKey';
  }

  /** @internal */
  toExtendedJSON(): MinKeyExtended {
    return { $minKey: 1 };
  }

  /** @internal */
  static fromExtendedJSON(): MinKey {
    return new MinKey();
  }

  inspect(): string {
    return 'new MinKey()';
  }
}

LittleDemon - FACEBOOK
[ KELUAR ]