# The MongoDB\BSON\MaxKey class

(mongodb >=1.0.0)

## 简介

Special BSON type which compares higher than all other possible BSON element values.

> 注意: This is an internal MongoDB type used for indexing and sharding.

## 类摘要

final class MongoDB\BSON\MaxKey implements MongoDB\BSON\MaxKeyInterface, MongoDB\BSON\Type, JsonSerializable {
/* 方法 */
final public __construct()
final public jsonSerialize(): mixed
}

## 更新日志

版本 | 说明
--- | ---
PECL mongodb 2.0.0 | 此类不再实现 Serializable 接口。
PECL mongodb 1.3.0 | Implements MongoDB\BSON\MaxKeyInterface.
PECL mongodb 1.2.0 | Implements Serializable and JsonSerializable.

## 目录

- MongoDB\BSON\MaxKey::__construct — Construct a new MaxKey
- MongoDB\BSON\MaxKey::jsonSerialize — Returns a representation that can be converted to JSON

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open