protected property Transaction::$name

The name of the transaction.

This is used to label the transaction savepoint. It will be overridden to 'drupal_transaction' if there is no transaction depth.

File

drupal/core/lib/Drupal/Core/Database/Transaction.php, line 51
Definition of Drupal\Core\Database\Transaction

Class

Transaction
A wrapper class for creating and managing database transactions.

Namespace

Drupal\Core\Database

Code

protected $name;