/
Stameskaaa
/
Server
Обзор
Документация
Войти
/
Stameskaaa
/
Server
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
node_modules/bson/src/max_key.ts
31 строка
527 B
Stameskaaa
first
19 июн 2024, 15:02
19 июн 2024, 15:02
ac1472e
Код
Авторство
О чём код?
import { BSONValue } from './bson_value'; /** @public */ export interface MaxKeyExtended { $maxKey: 1; } /** * A class representation of the BSON MaxKey type. * @public * @category BSONType */ export class MaxKey extends BSONValue { get _bsontype(): 'MaxKey' { return 'MaxKey'; } /** @internal */ toExtendedJSON(): MaxKeyExtended { return { $maxKey: 1 }; } /** @internal */ static fromExtendedJSON(): MaxKey { return new MaxKey(); } inspect(): string { return 'new MaxKey()'; } }