php8.5
Home/ Manual/ reference / mongodb/ MongoDB BSON Classes and Functions

MongoDB BSON Classes and Functions

Functions

Bson

Document Packedarray Iterator Binary Vectortype Decimal128 Javascript Maxkey Minkey Objectid Regex Timestamp Utcdatetime Type Persistable Serializable Unserializable Binaryinterface Decimal128interface Javascriptinterface Maxkeyinterface Minkeyinterface Objectidinterface Regexinterface Timestampinterface Utcdatetimeinterface Dbpointer Int64 Symbol Undefined

In this section

The MongoDB\BSON\Binary class

BSON type for binary data (i.e. array of bytes). Binary values also have a subtype, which...

The MongoDB\BSON\BinaryInterface interface

This interface is implemented by MongoDB\BSON\Binary to be used as a parameter, return, or...

The MongoDB\BSON\DBPointer class

BSON type for the "DBPointer" type. This BSON type is deprecated, and this class can not b...

The MongoDB\BSON\Decimal128 class

BSON type for the Decimal128 floating-point format, which supports numbers with up to 34 d...

The MongoDB\BSON\Decimal128Interface interface

This interface is implemented by MongoDB\BSON\Decimal128 to be used as a parameter, return...

The MongoDB\BSON\Document class

Represents a BSON document. This class is used when reading data as raw BSON and cannot be...

The MongoDB\BSON\Int64 class

BSON type for a 64-bit integer. When decoding BSON to PHP data, this class is used when a...

The MongoDB\BSON\Iterator class

Iterator used to iterate a BSON document or array.

The MongoDB\BSON\Javascript class

BSON type for Javascript code. An optional scope document may be specified that maps ident...

The MongoDB\BSON\JavascriptInterface interface

This interface is implemented by MongoDB\BSON\Javascript to be used as a parameter, return...

The MongoDB\BSON\MaxKey class

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

The MongoDB\BSON\MaxKeyInterface interface

This interface is implemented by MongoDB\BSON\MaxKey to be used as a parameter, return, or...

The MongoDB\BSON\MinKey class

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

The MongoDB\BSON\MinKeyInterface interface

This interface is implemented by MongoDB\BSON\MinKey to be used as a parameter, return, or...

The MongoDB\BSON\ObjectId class

BSON type for an ObjectId. The value consists of 12 bytes, where the first four bytes are...

The MongoDB\BSON\ObjectIdInterface interface

This interface is implemented by MongoDB\BSON\ObjectId to be used as a parameter, return,...

The MongoDB\BSON\PackedArray class

Represents a BSON array. This class is used when reading data as raw BSON and cannot be mo...

The MongoDB\BSON\Persistable interface

Classes may implement this interface to take advantage of automatic ODM (object document m...

The MongoDB\BSON\Regex class

BSON type for a regular expression pattern and optional flags.

The MongoDB\BSON\RegexInterface interface

This interface is implemented by MongoDB\BSON\Regex to be used as a parameter, return, or...

The MongoDB\BSON\Serializable interface

Classes that implement this interface may return data to be serialized as a BSON array or...

The MongoDB\BSON\Symbol class

BSON type for the "Symbol" type. This BSON type is deprecated, and this class can not be i...

The MongoDB\BSON\Timestamp class

Represents a BSON timestamp, The value consists of a 4-byte timestamp (i.e. seconds since...

The MongoDB\BSON\TimestampInterface interface

This interface is implemented by MongoDB\BSON\Timestamp to be used as a parameter, return,...

The MongoDB\BSON\Type interface

Abstract base interface that should not be implemented directly.

The MongoDB\BSON\UTCDateTime class

Represents a BSON date. The value is a 64-bit integer that represents the number of millis...

The MongoDB\BSON\UTCDateTimeInterface interface

This interface is implemented by MongoDB\BSON\UTCDateTime to be used as a parameter, retur...

The MongoDB\BSON\Undefined class

BSON type for the "Undefined" type. This BSON type is deprecated, and this class can not b...

The MongoDB\BSON\Unserializable interface

Classes that implement this interface may be specified in a type map for unserializing BSO...

The MongoDB\BSON\VectorType enum

The MongoDB\BSON\VectorType enum is used to specify the type of vector data stored in a Mo...

Source: reference/mongodb/bson.xml · from the official PHP manual (php/doc-en)