/
1Rrd0
/
Course
Обзор
Документация
Войти
/
1Rrd0
/
Course
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
node_modules/bson/src/max_key.ts
31 строка
527 B
dima
2
13 дек 2025, 10:58
13 дек 2025, 10:58
ce5a48e
Код
Авторство
О чём код?
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()'; } }