You are here

class TransactionIsolationLevel in Drupal driver for SQL Server and SQL Azure 8.2

Available transaction isolation levels for MSSQL.

Hierarchy

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

... See full list

File

drivers/lib/Drupal/Driver/Database/sqlsrv/Settings/TransactionIsolationLevel.php, line 10

Namespace

Drupal\Driver\Database\sqlsrv\Settings
View 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

Namesort descending Modifiers Type Description Overrides
Enum::$cache private static property Store existing constants in a static cache per object.
Enum::$value protected property Enum value
Enum::getKey public function Returns the enum key (i.e. the constant name).
Enum::getValue public function
Enum::isValid public static function Check if is valid enum value
Enum::isValidKey public static function Check if is valid enum key
Enum::keys public static function Returns the names (keys) of all constants in the Enum class
Enum::search public static function Return key for value
Enum::toArray public static function Returns all possible values as an array
Enum::values public static function Returns instances of the Enum class of all Enum constants
Enum::__callStatic public static function Returns a value when called statically like so: MyEnum::SOME_VALUE() given SOME_VALUE is a class constant
Enum::__construct public function Creates a new value of some type
Enum::__toString public function
TransactionIsolationLevel::Chaos constant
TransactionIsolationLevel::Ignore constant
TransactionIsolationLevel::ReadCommitted constant
TransactionIsolationLevel::ReadUncommitted constant
TransactionIsolationLevel::RepeatableRead constant
TransactionIsolationLevel::Serializable constant
TransactionIsolationLevel::Snapshot constant