The MongoDB\BSON\MinKey class

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

MongoDB\BSON\MinKey
final class MongoDB\BSON\MinKey implements MongoDB\BSON\MinKeyInterface, MongoDB\BSON\Type, Serializable, JsonSerializable {
/* Methods */
final public __construct()
final public mixed jsonSerialize()
final public string serialize()
final public void unserialize(string $data)
}

Changelog

Version Description
PECL mongodb 1.3.0 Implements MongoDB\BSON\MinKeyInterface.
PECL mongodb 1.2.0 Implements Serializable and JsonSerializable.

Table of Contents