DB_common::rollback()

DB_common::rollback()

DB_common::rollback() -- Rolls back the current transaction

Description

Rolls back the current transaction.

Return value

integer - DB_OK on success or a DB_Error object on failure

Note

This function can not be called statically.

When using MySQL as your DBMS, transactions can only be used when the tables in question use the InnoDB format.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.