PHP Conference Nagoya 2025

MongoDB\BSON\Document::fromBSON

(mongodb >=1.16.0)

MongoDB\BSON\Document::fromBSONConstruct a new document instance from a BSON string

説明

final static public MongoDB\BSON\Document::fromBSON(string $bson): MongoDB\BSON\Document

パラメータ

bson (string)

A string containing a document in BSON format.

戻り値

Returns a new MongoDB\BSON\Document instance.

エラー / 例外

参考

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top