MongoDB\Driver\ReadPreference::serialize

(mongodb >=1.7.0)

MongoDB\Driver\ReadPreference::serializeSerialize a ReadPreference

說明

final public MongoDB\Driver\ReadPreference::serialize(): string

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns the serialized representation of the MongoDB\Driver\ReadPreference.

錯(cuò)誤/異常

參見