public function Schema::getDefaultSchema in Drupal driver for SQL Server and SQL Azure 3.0.x
Same name and namespace in other branches
- 8.2 drivers/lib/Drupal/Driver/Database/sqlsrv/Schema.php \Drupal\Driver\Database\sqlsrv\Schema::GetDefaultSchema()
- 8 drivers/lib/Drupal/Driver/Database/sqlsrv/Schema.php \Drupal\Driver\Database\sqlsrv\Schema::GetDefaultSchema()
Return active default Schema.
5 calls to Schema::getDefaultSchema()
- Schema::createCommentSql in drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Schema.php - Create the SQL statement to add a new comment.
- Schema::deleteCommentSql in drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Schema.php - Create an SQL statement to delete a comment.
- Schema::getCollation in drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Schema.php - Get the collation.
- Schema::getComment in drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Schema.php - Retrieve a table or column comment.
- Schema::tableExists in drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Schema.php - Temporary tables and regular tables cannot be verified in the same way.
File
- drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Schema.php, line 827
Class
Namespace
Drupal\Driver\Database\sqlsrvCode
public function getDefaultSchema() {
if (!isset($this->defaultSchema)) {
$result = $this->connection
->queryDirect("SELECT SCHEMA_NAME()")
->fetchField();
$this->defaultSchema = $result;
}
return $this->defaultSchema;
}