PDO::rollBack
Description
bool PDO::rollBack ( void )| Warning |
|
This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk. |
When issued against databases that support transactions, PDO::rollBack() rolls back any work in progress and returns the connection state to autocommit mode.
You must issue PDO::beginTransaction() to set the connection state to manual commit mode before issuing PDO::rollBack() has any effect.
Examples
|
Official PHP Documentation in PHP-Nuke module form brought to you by Chris Karakas |
