Home > PHP > Function > SAM > SAMConnection->commit()

SAMConnection->commit()

SAMConnection->commit - Commits (completes) the current unit of work.

Syntax

bool SAMConnection->commit ()

Arguments

-

Description

Calling the "commit" method on a Connection object commits (completes) all in-flight transactions that are part of the current unit of work.

Version

PHP PECL sam >= 0.1.0

Return value

This method returns FALSE if an error occurs.