MongoDB\BSON\Regex::serialize

(mongodb >=1.2.0)

MongoDB\BSON\Regex::serializeSerialize a Regex

說(shuō)明

final public MongoDB\BSON\Regex::serialize(): string

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

Returns the serialized representation of the MongoDB\BSON\Regex.

錯(cuò)誤/異常

參見(jiàn)