class TransactionIsolationLevel in Drupal driver for SQL Server and SQL Azure 8
Available transaction isolation levels.
Hierarchy
- class \Drupal\Driver\Database\sqlsrv\Enum
- class \Drupal\Driver\Database\sqlsrv\TransactionIsolationLevel
Expanded class hierarchy of TransactionIsolationLevel
7 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
- Merge.php in drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Merge.php - Definition of Drupal\Driver\Database\sqlsrv\Merge
- Schema.php in drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Schema.php - Definition of Drupal\Driver\Database\sqlsrv\Schema
- Transaction.php in drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Transaction.php - Definition of Drupal\Driver\Database\sqlsrv\Transaction
File
- drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ TransactionIsolationLevel.php, line 8
Namespace
Drupal\Driver\Database\sqlsrvView 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 |