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