MongoDB\BSON\Decimal128::serialize
(mongodb >=1.2.0)
MongoDB\BSON\Decimal128::serialize — Serialize a Decimal128
Description
Parameters
This function has no parameters.
Return Values
Returns the serialized representation of the MongoDB\BSON\Decimal128.
Errors/Exceptions
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
See Also
- MongoDB\BSON\Decimal128::unserialize() - Unserialize a Decimal128
- serialize() - Generates a storable representation of a value
- Serializing Objects