Connection::$schema

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::schema
  2. 10 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::schema
  3. 11.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::schema

The schema object for this connection.

Set to NULL when the schema is destroyed.

Type: \Drupal\Core\Database\Schema|null

File

core/lib/Drupal/Core/Database/Connection.php, line 135

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

protected $schema = NULL;

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