MongoDB\BSON\Decimal128::serialize
(mongodb >=1.2.0)
MongoDB\BSON\Decimal128::serialize — Serialize a Decimal128
说明
final
public
MongoDB\BSON\Decimal128::serialize (
void ) :
string
参数
此函数没有参数。
返回值
Returns the serialized representation of the MongoDB\BSON\Decimal128.
错误/异常
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
参见
- MongoDB\BSON\Decimal128::unserialize() - Unserialize a Decimal128
- serialize() - 产生一个可存储的值的表示
- Serializing Objects