Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Habari
DB
rollback
Habari\DB::rollback PHP Method
DB Class Documentation
Show file
Open project: habari/system
rollback()
public
static
method
Rolls a currently running transaction back to the prexisting state, or, if the RDBMS supports it, whenever a savepoint was committed.
public
static
rollback
( )
public static function rollback() { DB::instance()->connection->rollback(); }
DB
add_error
begin_transaction
clear_errors
commit
connect
dbdelta
delete
disconnect
exec
execute_procedure
exists
get_column
get_driver_name
get_driver_version
get_errors
get_keyvalue
get_last_error
get_profiles
get_results
get_row
get_value
has_errors
in_transaction
insert
instance
is_connected
last_insert_id
list_tables
query
quote
register_table
rollback
row_count
set_fetch_class
set_fetch_mode
table
update
upgrade
upgrade_post
upgrade_pre