The MongoDB\BSON\MinKey class
(mongodb >=1.0.0)
Introduction
Special BSON type which compares lower than all other possible BSON element values.
Note: This is an internal MongoDB type used for indexing and sharding.
Class synopsis
Changelog
Version | Description |
---|---|
PECL mongodb 1.3.0 | Implements MongoDB\BSON\MinKeyInterface. |
PECL mongodb 1.2.0 | Implements Serializable and JsonSerializable. |
Table of Contents
- MongoDB\BSON\MinKey::__construct — Construct a new MinKey
- MongoDB\BSON\MinKey::jsonSerialize — Returns a representation that can be converted to JSON
- MongoDB\BSON\MinKey::serialize — Serialize a MinKey
- MongoDB\BSON\MinKey::unserialize — Unserialize a MinKey