Connection::$schema

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::schema
  2. 8.9.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::schema
  3. 10 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 101

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.