- PHP 手册
- 函数参考
- 数据库扩展
- 针对各数据库系统对应的扩展
- MongoDB
- MongoDB\BSON
- MongoDB\BSON\DBPointer
MongoDB\BSON\DBPointer::serialize
(mongodb >=1.4.0)
MongoDB\BSON\DBPointer::serialize — Serialize a DBPointer
说明
final public MongoDB\BSON\DBPointer::serialize(): string参数
此函数没有参数。
返回值
Returns the serialized representation of the MongoDB\BSON\DBPointer.
错误/异常
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
参见
- MongoDB\BSON\DBPointer::unserialize() - Unserialize a DBPointer
- serialize() - 产生一个可存储的值的表示
- Serializing Objects
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/mongodb-bson-dbpointer.serialize.php