# The MongoDB\BSON\MaxKey class

(mongodb >=1.0.0)

## Einführung

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

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

## Klassenbeschreibung

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

## Changelog

Version | Beschreibung
--- | ---
PECL mongodb 2.0.0 | Diese Klasse implementiert nicht mehr die Serializable-Schnittstelle.
PECL mongodb 1.3.0 | Implements MongoDB\BSON\MaxKeyInterface.
PECL mongodb 1.2.0 | Implements Serializable and JsonSerializable.

## Inhaltsverzeichnis

- 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