Automattic\WooCommerce\Database\Migrations\CustomOrderTable

PostsToOrdersMigrationController::rollback_transaction()privateWC 1.0

Rollback the current database transaction.

Method of the class: PostsToOrdersMigrationController{}

No Hooks.

Return

true|false. True on success, false on error.

Usage

// private - for code of main (parent) class only
$result = $this->rollback_transaction(): bool;

PostsToOrdersMigrationController::rollback_transaction() code WC 8.7.0

private function rollback_transaction(): bool {
	return $this->db_query( 'ROLLBACK' );
}