class TransactionIsolationLevel in Drupal driver for SQL Server and SQL Azure 8.2
Available transaction isolation levels for MSSQL.
Hierarchy
- class \Drupal\Driver\Database\sqlsrv\Component\Enum
- class \Drupal\Driver\Database\sqlsrv\Settings\TransactionIsolationLevel
Expanded class hierarchy of TransactionIsolationLevel
6 files declare their use of TransactionIsolationLevel
- Connection.php in drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Connection.php - Definition of Drupal\Driver\Database\sqlsrv\Connection
- Insert.php in drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Insert.php - Definition of Drupal\Driver\Database\sqlsrv\Insert
- Transaction.php in drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Transaction.php - Definition of Drupal\Driver\Database\sqlsrv\Transaction
- TransactionSettings.php in drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ TransactionSettings.php - Update.php in drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Update.php - Definition of Drupal\Driver\Database\sqlsrv\Update
File
- drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Settings/ TransactionIsolationLevel.php, line 10
Namespace
Drupal\Driver\Database\sqlsrv\SettingsView source
class TransactionIsolationLevel extends Enum {
const ReadUncommitted = 'READ UNCOMMITTED';
const ReadCommitted = 'READ COMMITTED';
const RepeatableRead = 'REPEATABLE READ';
const Snapshot = 'SNAPSHOT';
const Serializable = 'SERIALIZABLE';
const Chaos = 'CHAOS';
const Ignore = 'IGNORE';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Enum:: |
private static | property | Store existing constants in a static cache per object. | |
Enum:: |
protected | property | Enum value | |
Enum:: |
public | function | Returns the enum key (i.e. the constant name). | |
Enum:: |
public | function | ||
Enum:: |
public static | function | Check if is valid enum value | |
Enum:: |
public static | function | Check if is valid enum key | |
Enum:: |
public static | function | Returns the names (keys) of all constants in the Enum class | |
Enum:: |
public static | function | Return key for value | |
Enum:: |
public static | function | Returns all possible values as an array | |
Enum:: |
public static | function | Returns instances of the Enum class of all Enum constants | |
Enum:: |
public static | function | Returns a value when called statically like so: MyEnum::SOME_VALUE() given SOME_VALUE is a class constant | |
Enum:: |
public | function | Creates a new value of some type | |
Enum:: |
public | function | ||
TransactionIsolationLevel:: |
constant | |||
TransactionIsolationLevel:: |
constant | |||
TransactionIsolationLevel:: |
constant | |||
TransactionIsolationLevel:: |
constant | |||
TransactionIsolationLevel:: |
constant | |||
TransactionIsolationLevel:: |
constant | |||
TransactionIsolationLevel:: |
constant |