function Schema::__construct
Overrides Schema::__construct
File
-
core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Schema.php, line 56
Class
- Schema
- PostgreSQL implementation of \Drupal\Core\Database\Schema.
Namespace
Drupal\pgsql\Driver\Database\pgsqlCode
public function __construct($connection) {
parent::__construct($connection);
// If the schema is not set in the connection options then schema defaults
// to public.
$this->defaultSchema = $connection->getConnectionOptions()['schema'] ?? 'public';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.