Automattic\WooCommerce\Database\Migrations\CustomOrderTable

PostsToOrdersMigrationController::commit_transactionprivateWC 1.0

Commit the current database transaction.

Method of the class: PostsToOrdersMigrationController{}

No Hooks.

Returns

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

Usage

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

PostsToOrdersMigrationController::commit_transaction() code WC 10.6.2

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