PHP - Manual: MongoDB\BSON\ObjectId::serialize
2024-11-14
(mongodb >=1.2.0)
MongoDB\BSON\ObjectId::serialize — Serialize an ObjectId
此函数没有参数。
Returns the serialized representation of the MongoDB\BSON\ObjectId.
官方地址:https://www.php.net/manual/en/mongodb-bson-objectid.serialize.php