MongoDB\BSON\Timestamp::serialize

Serialize a Timestamp

Description

final public string MongoDB\BSON\Timestamp::serialize ( void )

Parameters

This function has no parameters.

Return Values

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

Errors/Exceptions

  • Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.

See Also