MongoDB\BSON\DBPointer::serialize

Serialize a DBPointer

Description

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

Parameters

This function has no parameters.

Return Values

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

Errors/Exceptions

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

See Also