PHP 8.1.31 Released!

MongoDB\BSON\Document::__toString

(mongodb >=1.16.0)

MongoDB\BSON\Document::__toStringReturns the string representation of this BSON Document

Description

final public MongoDB\BSON\Document::__toString(): string

Parameters

This function has no parameters.

Return Values

Returns the string representation of this document as BSON.

See Also

add a note

User Contributed Notes

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