public Connection::schema()
Returns a DatabaseSchema object for manipulating the schema.
This method will lazy-load the appropriate schema library file.
\Drupal\Core\Database\Schema The database Schema object for this connection.
public function schema() { if (empty($this->schema)) { $class = $this->getDriverClass('Schema'); $this->schema = new $class($this); } return $this->schema; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Connection.php/function/Connection::schema/8.1.x