php8.5
Home/ Manual/ mongodb / bson/ The MongoDB\BSON\DBPointer class

The MongoDB\BSON\DBPointer class

BSON type for the "DBPointer" type. This BSON type is deprecated, and this class can not be instantiated. It will be created from a BSON DBPointer type while converting BSON to PHP, and can also be converted back into BSON while storing documents in the database.

Intro

BSON type for the "DBPointer" type. This BSON type is deprecated, and this class can not be instantiated. It will be created from a BSON DBPointer type while converting BSON to PHP, and can also be converted back into BSON while storing documents in the database.

Class synopsis

class MongoDB\BSON\DBPointer { }

Changelog

VersionDescription
PECL mongodb 1.12.0Implements Stringable for PHP 8.0+.

Dbpointer

In this section

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