phpday 2027 - Call for Papers

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

final class MongoDB\BSON\MinKey implements MongoDB\BSON\MinKeyInterface, MongoDB\BSON\Type, JsonSerializable {
/* Methods */
final public function __construct()
final public function jsonSerialize(): mixed
}

Changelog

Version Description
PECL mongodb 2.0.0 This class no longer implements the Serializable interface.
PECL mongodb 1.3.0 Implements MongoDB\BSON\MinKeyInterface.
PECL mongodb 1.2.0 Implements Serializable and JsonSerializable.

Table of Contents

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top