MongoDB\BSON\Document::__toString
PHP function
Edit on GitHub ✎
(mongodb >=1.16.0)
Returns the string representation of this BSON Document
Description
MongoDB\BSON\Document::__toString(): string
Parameters Parameters
Return Values
Returns the string representation of this document as BSON.
See Also
- BSON Types