MongoDB\BSON\Document::__toString

(mongodb >=1.16.0)

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

说明

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

参数

此函数没有参数。

返回值

Returns the string representation of this document as BSON.