MongoDB\Driver\Session::commitTransaction

(mongodb >=1.5.0)

MongoDB\Driver\Session::commitTransactionCommits a transaction

Description

final public MongoDB\Driver\Session::commitTransaction ( void ) : void

This method commits an existing transaction and all the associated operations are persisted in the database.

Parameters

This function has no parameters.

Return Values

No value is returned.

Errors/Exceptions

See Also