PHP - Manual: MongoDB\BSON\Document::serialize
2025-02-27
(mongodb >=1.16.0)
MongoDB\BSON\Document::serialize — Serialize a Document
此函数没有参数。
Returns the serialized representation of the MongoDB\BSON\Document.
官方地址:https://www.php.net/manual/en/mongodb-bson-document.serialize.php