The MongoDB\BSON\MaxKey class

(mongodb >=1.0.0)

Introduction

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

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

Class synopsis

finalpublic__construct()
finalpublicjsonSerialize(): mixed
finalpublicserialize(): string
finalpublicunserialize(string$data): void
}

Changelog

VersionDescription
PECL mongodb 1.3.0 Implements MongoDB\BSON\MaxKeyInterface.
PECL mongodb 1.2.0 Implements Serializable and JsonSerializable.

Table of Contents

To Top