MongoDB\Driver\WriteConcern::serialize

Serialize a WriteConcern

Description

final public string MongoDB\Driver\WriteConcern::serialize()

Parameters

This function has no parameters.

Return Values

Returns the serialized representation of the MongoDB\Driver\WriteConcern.

Errors/Exceptions

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

See Also