Automattic\WooCommerce\Internal\DataStores\Orders

CustomOrdersTableController::get_valid_transaction_isolation_levels()public staticWC 1.0

Get the valid database transaction isolation level names.

Method of the class: CustomOrdersTableController{}

No Hooks.

Return

String[].

Usage

$result = CustomOrdersTableController::get_valid_transaction_isolation_levels();

CustomOrdersTableController::get_valid_transaction_isolation_levels() code WC 7.1.1

public static function get_valid_transaction_isolation_levels() {
	return array(
		'REPEATABLE READ',
		'READ COMMITTED',
		'READ UNCOMMITTED',
		'SERIALIZABLE',
	);
}