PHP - Manual: MongoDB\Driver\ReadPreference::serialize
2024-11-15
(mongodb >=1.7.0)
MongoDB\Driver\ReadPreference::serialize — Serialize a ReadPreference
此函数没有参数。
Returns the serialized representation of the MongoDB\Driver\ReadPreference.
官方地址:https://www.php.net/manual/en/mongodb-driver-readpreference.serialize.php