Connection::$willRollback

Same name and namespace in other branches
  1. 9 core/modules/sqlite/src/Driver/Database/sqlite/Connection.php \Drupal\sqlite\Driver\Database\sqlite\Connection::willRollback
  2. 8.9.x core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php \Drupal\Core\Database\Driver\sqlite\Connection::willRollback

Whether or not the active transaction (if any) will be rolled back.

Type: bool

Deprecated

in drupal:10.2.0 and is removed from drupal:11.0.0. It is unused.

See also

https://www.drupal.org/node/3381002

File

core/modules/sqlite/src/Driver/Database/sqlite/Connection.php, line 39

Class

Connection
SQLite implementation of <a href="/api/drupal/core%21lib%21Drupal%21Core%21Database%21Connection.php/class/Connection/10" title="Base Database API class." class="local">\Drupal\Core\Database\Connection</a>.

Namespace

Drupal\sqlite\Driver\Database\sqlite

Code

protected $willRollback;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.